access anonymous object code example Example: how to access items inside anonymous object string str = (string)jsonObj.SelectToken("prop1.prop2");