weijunyu / vscode-json-path

jsonpath extension for Visual Studio Code

Home Page:https://marketplace.visualstudio.com/items?itemName=weijunyu.vscode-json-path

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

jsonpath extension for Visual Studio Code

https://marketplace.visualstudio.com/items?itemName=weijunyu.vscode-json-path

License:MIT License


Languages

Language:TypeScript 100.0%