1

Are there specific js libraries or techniques for querying json objects in the browser - i.e. 'get all People where person.name = "Joe"'. Something similar to what linq does in .NET.....

2 Answers 2

3

You may take a look at LINQ to Javascript. There are also many others, just pick one that fits your needs.

Sign up to request clarification or add additional context in comments.

3 Comments

i love jslinq. except when i hate it for breaking at the most inconvenient time. there is another less featured library, linqjs, up there on codeplex that is cool too. But jslinq has grouping which is just too cool.
myJoes = Enumerable.From({object or array }).Where("$.name=='Joe').ToArray();
Thanks. I had seen those and just wanted to get a sense for what people were actually using and happy with. I should have phrased the question in that manner :)
1

There are several options:

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.