LINQ was a major advancement in programming. Traditionally when you wanted to find a few items in a object collection you would write a loop and inspect the properties of each object and then return the items that matched. This was cumbersome and often resulted in the developer writing a lot of functions to return objects based on different types of searches. LINQ solved this problem completely because now you can use a SQL like syntax to return objects from a collection. LINQ comes in many different flavors, there is LINQ to SQL, LINQ to XML and LINQ to entities. However, today I ran across a project called jLinq, which is LINQ for JSON!.
JSON stands for JavaScript Object Notation. JSON is simply a way to serialize object(s) to a string so they can be marshaled and eventually consumed by the client. For example here is the JSON string representing a Person:
{
"firstName": "John",
"lastName": "Smith",
"address": {
"streetAddress": "21 2nd Street",
...
[More]