using json.net with unity code example
Example 1: how to use json in unity
myObject = JsonUtility.FromJson<MyClass>(json);
Example 2: how to use json in unity
MyClass myObject = new MyClass();
myObject.level = 1;
myObject.timeElapsed = 47.5f;
myObject.playerName = "Dr Charles Francis";