unity json {"":[]} code example
Example 1: how to use json in unity
string json = JsonUtility.ToJson(myObject);
// json now contains: '{"level":1,"timeElapsed":47.5,"playerName":"Dr Charles Francis"}'
Example 2: how to use json in unity
myObject = JsonUtility.FromJson<MyClass>(json);