mac-s-g / react-json-view

JSON viewer for react
https://mac-s-g.github.io/react-json-view/demo/dist/
MIT License
3.45k stars 494 forks source link

Templating #390

Open gadij opened 2 years ago

gadij commented 2 years ago

Is there a way to limit the use for a specific template? for example, when the user open an object in the json it will automatically set a pre-defined properties to this object such as: name, type,

so from this: initial state: '{}' *user clicks on the '+' icon will become this: '{ type: "object", name: "", ... ... ...

}'