LitJSON causes System.MissingMethodException : No parameterless constructor defined for this object.
Filing another report under hard to google errors, which seems to be my primary reason for posting on this blog these days.
Was working with LitJSON in C# to deserialize an API response. When I started getting System.MissingMethodException : No parameterless constructor defined for this object.
.
This error message is too generic to Google, and there is nothing in the results related to LitJSON really. Turned out I had a really simple problem though.
My class was something like this
When in reality to JSON was:
Calling:
Works much better when you’re not trying to shove a Map into a string.