Skip to content

gao03/vscode-json-path

 
 

Repository files navigation

修改点

jsonPath: Extract JSON data

  1. 修改为实时查询,输入 JsonPath 时自动执行查询,不需要按 Enter 键

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.

Packages

No packages published

Languages

  • TypeScript 100.0%