Can we use JQuery functions to manipulate and search in JSON Object?
Like if I have a big Object of type of array of this object:
Node
{
Name,
Property1,
Property2
}
can I use jquery function find to find a node with property Name as John?
and similarly modify the contents as well??
edit: yes, I was actually looking for something like JLinq,
Thank you
i think what you’re looking for here is jLinq. its like linq, but its a jquery plugin. to do what you’re asking about is really easy. it would be something like :
if you want only the first match try :
and thats all there is to it. very quick and efficient, and very semantic, so its easy to maintain an understand the intent.