- Home /
is LitJson still best for storing Json data for unity?
The Tutorials I can see all recommend using LitJson to store conversation data for the game, but they are all written 5 years ago, is it still the recommended method or is there now a better unity built-in way to do it?
Just use Unity's JsonUtility.
JSON is just a (text-based) data format. LitJson, JsonUtility, and SimpleJSON are just utility "libraries" for reading and writing JSON format. Any of these could do the work for you, although some have better functionality. For example, Unity's `JsonUtility` "does not support unstructured JSON".
In my opinion there is no "best" JSON library, but there are ones that fit a purpose better. Personally, I prefer SimpleJSON, because of its small size and that it works for the basic tasks for which I use it.
Your answer
Follow this Question
Related Questions
How To Separate Json Parameter Function to get values i need ? 0 Answers
Store game objects in a JRPG game 0 Answers
Modifying Json file values 2 Answers
Json . NET, iOS and AOT 1 Answer
How do I get a number out of a JSON file with JSONObject.cs 1 Answer