开发者

What is the best way to query json objects/arrays in javascript?

Are there specific js libra开发者_开发知识库ries 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.....


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


There are several options:

  • jsonpath
  • Dojo jsonquery
  • There are several others listed at the bottom of the Wikipedia linq page.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜