Format2Json2View
Format2Json2View is a React component for displaying JSON objects.Supports automatically formatting json format strings into json.
Installation Instructions
Install this component with NPM.
npm i format2json2view
Or add to your package.json config file:
"dependencies":
Implementation Example
Json type
// import the Format2Json2View component // use the component in your app!Format2Json2View source=/
Json format string
// import the Format2Json2View component // use the component in your app!Format2Json2View data=/
Props
Name | Type | Description |
---|---|---|
source |
json object |
Supports formatting json format strings |
TODO
- refactor packaging process