Chapter 9. Querying JSON with JSONPath and LINQ
Sometimes, all you may want to do is extract a field or two from some JSON-formatted data, rather than parse a JSON blob into a class and work with all of its fields. With JSONPath or LINQ (using Json.NET), you can do just that. Here, you'll find the following recipes:
Using the JSONPath dot-notation to query JSON documents
Using JSONPath bracket-notation to query JSON documents
Using JSONPath scripting to construct more complicated queries
Using JSONPath in your web application
Using JSONPath in your Node.js application
Using JSONPath in your PHP application
Using JSONPath in your Python application
Using JSONPath in your Java application
Using JSONPath with SelectToken to query for JSONPath expressions in your C# application
Using LINQ with Json.NET to query JSON in your C# application