Here's an example JSON file:
{
"cat": {
"eyeColor": "gold",
"legCount": 4
},
"dog": {
"eyeColor": "brown",
"legCount": 4
},
"turtle": {
"eyeColor": "black",
"legCount": 4
}
}
I'd really like to provide example code, but I really don't know how to do it, so I'll just create an example of what I'd like below, I'm really sorry for this.
What I'd like is to filter and get an object's name, how do I go about doing this?
For example, I'd like to filter where the eye colour is "gold", and then get the Object's name which would be "cat", how do I do this?
Thank you very much! >w<