Description
json-edit-react is a configurable React component for editing or viewing JSON and object data. It displays a data structure as a tree that you can expand and collapse, and it lets users change any value in place, change the type of a value, add new keys and array items, and remove entries. A whole object node can be edited at once as JSON text, and values can be reordered by drag and drop. The demo shows keyboard use as well, such as pressing Enter to submit a change or Ctrl or Cmd with Enter, and it includes undo support in the packages. The component is highly configurable, and it can be used for viewing as well as editing. It has a documentation site with an options reference, and a live demo shows the component with sample data. Version 2 is now the current release, and the author has written a migration guide for people who are upgrading from version 1. The version 1 documentation and demo are still available for those who need them. The project is built with TypeScript. It suits developers who need a JSON editor inside a React app, such as an admin panel or a settings screen.…
Highlights
- Edit values, types, keys and arrays in place
- Drag and drop reordering
- Keyboard shortcuts and undo support
- Read-only viewing and configurable options
Ratings & Reviews
No ratings yet
Be the first to rate json-edit-react.
People also visit
json-edit-react FAQ
What is json-edit-react?
It is a React component for editing or viewing JSON and object data.
What can users do with it?
Edit values, change a value's type, add or remove keys and array items, edit a whole node as JSON text, and drag and drop.
Can it be read-only?
Yes. The component is highly configurable, and it can be used to view data as well as to edit it.
Is there a newer version?
Yes. Version 2 is the current release, and a migration guide is available for people upgrading from version 1.
Where is the setup guide?
The README and the documentation site cover installation and the options.
What are the best json-edit-react alternatives?
Popular alternatives to json-edit-react include json-edit-react, react18-json-view and react-json-pretty. See all json-edit-react alternatives















