Talk:UnityLitJSON

From Unify Community Wiki
Jump to: navigation, search

I am using this JSON parser in one of my applications and I was getting an exception in the method, ToObject<>, whenever the json data object contained a field that did not exist in the class to which it was deserialized. I think .Net ignores these extra fields, and does not throw an exception.

So I modified the class, JsonMapper.cs, so that it would not throw an exception. Instead, it parses the JSON data to the next field.

UnityLitJson 1.1

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox