Is it possible to access JSON objects via dotnotation? json.fieldName…
What you can do is create a struct, and then use JsonUtility.FromJson to load it as an object ie:
[System.Serializable]
public class MyObject
{
public int field1;
public int field2;
}
...
MyObject obj = JsonUtility.FromJson<MyObject >(myJson);
Debug.Log(obj.field1);
True, I overlooked this somehow. thanks for the redirect. I will experiment with it