I have a json array :
{ “site”:[[[3,7],[4,6],[5,6],[5,5],[6,5]],[[3,5],[3,5],[4,4],[5,4],[5,4],[6,3]]]}
I try to load:
[System.Serializable]
public class PlayerInfo
{
[System.Serializable]
public class PlayerInfo2
{
[System.Serializable]
public class PlayerInfo3
{
public int[] id;
}
public PlayerInfo3[] site1;
}
public PlayerInfo2[] site;
}
But it says like this:
NullReferenceException : Object reference not set to an instance of an object