JSON 桌面编辑器

3,330 阅读1分钟
原文链接: github.com

JSON-Splora

JSON-Splora is a GUI for editing, visualizing, and manipulating JSON data.

Demo

Design

Input

The editor is a JavaScript editor, and the input is parsed as json5. This allows for comments as well as a relaxed JSON input format.

Filters

Once the editor has valid JSON, an input window will appear below, allowing you to manipulate the object with JavaScript or jq.

Output

A panel will appear to the right with the output, and updates live as the input or filter changes.

Install

To install and test locally, run:

npm install
npm start

Build

Build the application for darwin, linux, win32 or all three platforms with one of the following commands:

npm run-script build-darwin
npm run-script build-linux
npm run-script build-win32
npm run-script build

This will create a local directory JSON-Splora-, which contains the application.

Contributing

Contributions are welcome! Progress will be slow otherwise.

License

MIT