MagicJinn
Explore posts from serversForce Newtonsoft to deserialize into certain formats
I've been using JsonFx for a bit now and am trying to migrate away to Newtonsoft, but the biggest problem I've faced is that when you deserialize into Dictionary<string,object>, and the object is another nested object, it'll become a JObject. Is there any easy way to force Newtonsoft to deserialize T or List<T> (depending on the data), instead of JObject for all nested objects?
36 replies
Utf8Json or Jil for Net3.5
Hey there! I'm trying to improve the performance of a game made in an older version of Unity that uses Net 3.5, and want to find a better JSON serializer and deserializer (current is JsonFx). I read about Utf8Json and Jil, but there don't seem to be any 3.5 versions available, even though I have read several articles and StackOverflow posts that mention them. Any help is much appreciated!
37 replies