Skip to content

VSCode extension for viewing JSON files in a hierarchical grid format

License

Notifications You must be signed in to change notification settings

greenflute/json-grid-viewer

 
 

Repository files navigation

json-grid-viewer

Cloned from dutchigor:json-grid-viewer, this extension allows you get a better overview of the content in a JSON file by showing it in a resizable grid.

  • Columns are resizable.
  • Each object and array is collapsed by default but can be expanded to see all contents
  • Arrays of objects show in a table format

Demo

demo

Usage

To open a json file in the grid viewer, right click the file, select Open With... > JSON Grid. The grid is read only but will display any changes made to the json file live, provided the json is valid.

To do:

  • Add editing capabilities
  • Take colours from the active theme

Build Extension

npm install
npm run build
npm run vscode:prepublish
vsce package

Note:

  • as of Node 20.5.1, consider "export NODE_OPTIONS=--openssl-legacy-provider" before run "npm build", to avoid "Error: error:0308010C:digital envelope routines::unsupported".
  • watchout .vscodeignore and use "vsce ls" to check files that will be included in the final package.

About

VSCode extension for viewing JSON files in a hierarchical grid format

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 44.2%
  • JavaScript 35.7%
  • CSS 20.1%