Description
json-edit-react is a React component for viewing and editing JSON or other object data inside a web page. You drop it into your app and it renders the data as an expandable tree where users can edit a single value or a whole block of JSON text inline. It is built to be restricted: each element can be set to allow or block edits, deletions and additions, and changes can be checked against JSON Schema with a third-party validation library. The look can be changed with built-in or custom themes, CSS overrides or targeted classes, and the component has no external UI library dependencies and no runtime dependencies. Other features include search and filter by key, value or a custom function, custom components for keys and values such as date pickers, links, images, BigInt and Symbol, translatable labels, drag-and-drop reordering, custom keyboard bindings and control from code through callbacks and imperative methods. The current docs cover version 2, and the project has a migration guide for people upgrading from version 1. Optional companion packages add themes, node components and utilities.…
Highlights
- Inline editing of values and whole JSON blocks
- Control over which edits, deletions and additions are allowed
- JSON Schema validation with a third-party library
- Search and filter by key, value or custom function
- Custom themes, components and translatable labels
- No runtime dependencies
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?
A React component for viewing and editing JSON or object data in a web page, shown as an expandable tree.
How do I stop users from changing parts of the data?
Each element can be set up to allow or block edits, deletions and additions, so you decide which parts stay editable.
Can it validate what users enter?
Yes. It can validate data against JSON Schema using a third-party validation library.
Is there a migration guide from version 1?
Yes. The docs cover version 2 and include a migration guide for people upgrading from version 1.
Does it need other UI libraries?
No. It is plain HTML and CSS with no external UI library dependencies and no runtime dependencies.
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












