Argument Exception: J SON must represent an object type. Serialization list of objects
I've been trying to read in a j son file with multiple objects for different locations. I've tried creating a container class for a List, Serialization Filed, and etc. I would love some insight or help? Error:
ArgumentException: JSON must represent an object type. UnityEngine.JsonUtility.FromJson (System.String json, System.Type type) (at :0) UnityEngine.JsonUtility.FromJson[T] (System.String json) (at :0) ARLocation.JsonReader.LoadJsonFile () (at Assets/Scripts/JsonReader.cs:136) ARLocation.JsonReader.Start () (at Assets/Scripts/JsonReader.cs:89)
[link text][1]
[link text][2]
,I've been trying to read in a j son file with multiple objects for different locations. I've tried creating a container class for a List, Serialization Field, and etc. I would love some insight or help? Error:
Argument Exception: J SON must represent an object type. Error is at line: List< location Data > entry List = j son Utility .From j son>( j son string );