Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tangram-js/json-editor
A JSON schema based editor for JSON document. It provides a tree view to present the structure of JSON document, user could manipulate the JSON from context menu. It also has a text view to present the content of JSON document, user may edit JSON within. Develop with Vue.js 2.
https://github.com/tangram-js/json-editor
Last synced: 4 months ago
JSON representation
A JSON schema based editor for JSON document. It provides a tree view to present the structure of JSON document, user could manipulate the JSON from context menu. It also has a text view to present the content of JSON document, user may edit JSON within. Develop with Vue.js 2.
- Host: GitHub
- URL: https://github.com/tangram-js/json-editor
- Owner: tangram-js
- License: gpl-3.0
- Created: 2017-08-06T04:05:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T16:36:32.000Z (almost 2 years ago)
- Last Synced: 2024-08-01T13:39:02.217Z (7 months ago)
- Language: Vue
- Homepage: https://json-editor.tangramjs.com
- Size: 6.06 MB
- Stars: 234
- Watchers: 10
- Forks: 44
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# json-editor
> A JSON schema based editor for JSON document. It provides a tree view to present the structure of JSON document, user could manipulate the JSON from context menu. It also has a text view to present the content of JSON document, user may edit JSON within.
> Develop with Vue.js 2.
> Please reference the [project website](https://json-editor.tangramjs.com) fro detail.## Features
#### Tree View of JSON document
The structure of JSON document, could expend or collapse at any level.
#### Context Menu
Right-click on the element in tree view could bring out the context menu for that element, and perform actions specific for that element.
#### Text View of JSON document
A text view to display content of schema. User could also edit the document directly in text view.
#### Schema validation
The JSON document would validate with current selected schema after every update.
#### Undo/Redo
Undo and Redo could keep track of every update of JSON document.
#### Copy JSON document to clipboard
Copy JSON document to system clipboard.
#### Download JSON document to file
Download JSON document as a json file.
#### Load JSON document from file
Load JSON document from a json schema file.## Install
``` bash
git clone https://github.com/tangram-js/json-editor.git
```
## Build``` bash
# install dependencies
npm install# serve with hot reload at localhost:8080
npm run dev# build for production with minification
npm run build# build for production and view the bundle analyzer report
npm run build --report
```
## Live demo
Live demo of source code: [https://tangram-js.github.io/json-editor/](https://tangram-js.github.io/json-editor/)