Answers for "Best way to handle Deserializing a large JSON file from a website?"http://answers.unity.com/questions/1521070/best-way-to-handle-deserializing-a-large-json-file.html
The latest answers for the question "Best way to handle Deserializing a large JSON file from a website?"Answer by Bunny83http://answers.unity.com/answers/1521104/view.html
Well the amount of data isn't that much. The main issue is that no matter which object representation you actually use on the C# side you will always allocate about the same amount of memory which need to be collected once you're done. Almost all JSON parsers have to completely parse all the data in order to access any of the individual values. While it would be possible to implement something like a [SAX reader][1] for JSON, i don't know any implementation and the usage would be way different than using any "normal" JSON parser.
<br>
I've written [the SimpleJSON parser][2] which tries to minimize the allocated memory. It uses stongly typed classes for the different json values and provides an easy to use interface. I've used it to store quite complex data of several MB. It also allows easy data addition or manipulation at runtime.
<br>
Within the same repository i also have some [Unity specific extensions][3] for easy read and write support of the basic Unity types (vectors, quaterion, rect, etc...)
[1]: https://de.wikipedia.org/wiki/Simple_API_for_XML
[2]: https://github.com/Bunny83/SimpleJSON/blob/master/SimpleJSON.cs
[3]: https://github.com/Bunny83/SimpleJSON/blob/master/SimpleJSONUnity.csFri, 22 Jun 2018 23:23:33 GMTBunny83