Skip to content

Conversation

amccorma
Copy link

serialize and deserialize enums (integers and strings)

serialize and deserialize enums (integers and strings)
@Lakritzator
Copy link

I'm just a "bystander", but what is with this commit:
jasonmead@bf5b50f
Here the commiter also has Nullable support, maybe you can improve your code a bit?

Another note, you changed/added way to much (.sln etc) and I don't think the maintainer would merge your commits.

@amccorma
Copy link
Author

amccorma commented Apr 27, 2016

#64

SimpleJson was not deserializing enum strings/integers. I used the "master" version. I need to modify the SimpleJson.cs file to get enums to serialize and deserialize. The changes are posted in the link above.

I created a test: EnumTypeTest.cs and modified SimpleJson.cs. Added about 5 lines of code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants