Exist any approach to make query in json using Javascript?
Particularly I have a json in a variable json into my code javascript, this json is a array of data, each data have 3 attributes 'name', 'city' and 'age', and I want to retrieve all the data who name is 'pepe'.
Also I want to retrieve all the data with diferent name. For example if I have 3 data in the json, two of them has the same name, I want to retrieve only two object, I will be agreeable with the count of the row with different name.
How can I do this?