I'm looking for a JavaScript library that will allow me to query complex JSON objects using a LINQ-like syntax. A quick search found a couple of promising options that look they might offer what I need:
LINQ to JavaScript and jLinq
I think it will be the first one to get a thorough try-out.
LINQ in Javascript is a great simple tool for manipulating data collections in javascript. You can easily transform, sort, select and combine data collections using javascript commands in react, angular, etc.
By using the JQuery function grep and prototype, it's possible to extend Array class and simulate basic LINQ functions. As shown above in the sample, all functions have the same format.
Ask Question. Language Integrated Query (LINQ) is a Microsoft .NET Framework component that adds native data querying capabilities to .NET languages.
You might want to check out linq.js. It follows the .NET lambda syntax and looks to be well integrated in a Microsoft environment.
LINQ for JavaScript - http://linqjs.codeplex.com/
Pros
Cons
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With