0.3.2 • Published 3 years ago
js-json-tree v0.3.2
JSON tree viewer
A JSON view component for React.
Here is the demo
Feature
- expand/collapse the JSON tree
- remove/edit nodes
- Copy resource
- type of each node
How to use
import JsonTree from 'js-json-tree';
const exampleData={
"id":2,
"name":"test"
"fruit":["apple","banana"]
"hours":{"monday":{
"opens_at":"8:38 AM",
"closes_at":"8:31 PM",
"is_closed":true
}
}
}
<JsonTree resource={exampleData}>
Contact Me
If you have more idea about improving this package, feel free to reach me at ericxiongdeveloper@gmail.com