Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>JSON PathNew to Visual Studio Code? Get it now.
JSON Path

JSON Path

Wei Junyu

|
41,865 installs
| (5) | Free
Extract and find data in JSON structures with JSONPath queries
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

jsonpath extension for Visual Studio Code

Use JSONPath expressions to extract and filter data from JSON objects.

Check out https://github.com/stedolan/jq/wiki/For-JSONPath-users for a comparison between JSONPath and jq.

Features

Two commands are available through the command palette.

With a .json file open, type jsonpath to bring up the commands, key in your JSON path, then press Enter to view filter results.

Commands

jsonPath: Extract JSON data

Filter JSON data.

jsonPath: Extract JSON data with their paths

Filter JSON data and display the path to filtered data.

demo

Dependencies

  • JSONPath library from dchester: Query and manipulate JavaScript objects with JSONPath expressions. Robust JSONPath engine for Node.js.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft