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 ...

Get JavaScript JSON Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.