https://github.com/overtrue/json-viewer
A tool for make JSON view in browser.
https://github.com/overtrue/json-viewer
json json-viewer
Last synced: 9 months ago
JSON representation
A tool for make JSON view in browser.
- Host: GitHub
- URL: https://github.com/overtrue/json-viewer
- Owner: overtrue
- License: mit
- Created: 2015-10-14T05:54:12.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-07-11T02:24:19.000Z (over 7 years ago)
- Last Synced: 2024-05-02T00:59:21.399Z (over 1 year ago)
- Topics: json, json-viewer
- Language: JavaScript
- Homepage: http://overtrue.me/json-viewer
- Size: 13.7 KB
- Stars: 49
- Watchers: 4
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Json Viewer](http://overtrue.github.io/json-viewer/)
A tool for make JSON view in browser.
# Usage
```html
var json = {
name: "JsonViewer",
author: {
name: "overtrue",
email: "i@overtrue.me",
contact: [
{
location: "office",
number: 123456
},
{
location: "home",
number: 987654
}
]
}
};
$('#json-container').jsonview(json); // Support json string/object
```
[Demo](http://overtrue.github.io/json-viewer/)
# License
MIT