i want to make a search in a json file by query Example: My json file:
[{
"Id":1,
"name":"test"
},
{
"Id":2,
"name":"test"
}]
And if i search {"name":"test"} i get the full objects whos name is test
ADD: I misspoke its the user who enter the query how can i get the key and the value from the query {key:value} and the user can entre multiple keys and values (like the search in atlas mongodb) UP!!