Skip to content
Advertisement

Extracting a data from json array by certain key in java script

I have a json array which im getting my react data from it, the json is like this:

JavaScript

lets say i have the key value of name inside children(children_1) and i want to get the rest of the data inside that children using the name that i have, is there a way to do that ?

Advertisement

Answer

Look at jsonpath

so it will be

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement