🌐
npm
npmjs.com › package › jsoneditor-react
jsoneditor-react - npm
December 17, 2021 - const JsonEditor = importedComponent(() => Promise.all([ import(/* webpackChunkName:'jsoneditor' */'jsoneditor-react'), import(/* webpackChunkName:'jsoneditor' */'brace'), import(/* webpackChunkName:'jsoneditor' */'ajv'), import(/* webpackChunkName:'jsoneditor' */'brace/mode/json'), import(/* webpackChunkName:'jsoneditor' */'brace/theme/github') ]).then(([{ JsonEditor: Editor }, ace, Ajv ]) => { const ajv = new Ajv(); return function EditorHoc(props) { return ( <Editor ace={ace} ajv={ajv} theme="ace/theme/github" {...props} /> ); } }));
      » npm install jsoneditor-react
    
Published   Dec 17, 2021
Version   3.1.2
Author   Ivan Kopeykin
🌐
GitHub
github.com › CarlosNZ › json-edit-react
GitHub - CarlosNZ/json-edit-react: React component for editing/viewing JSON/object data · GitHub
You can see an example of this in the Demo with the "JSON Schema Validation" data set (and the "Custom Nodes" data set). An example onUpdate validation function (using Ajv) could be something like this: import { JsonEditor } from 'json-edit-react' import Ajv from 'ajv' import schema from './my-json-schema.json' // Put these outside React components: const ajv = new Ajv() const validate = ajv.compile(schema) // Etc....
Starred by 616 users
Forked by 37 users
Languages   TypeScript 86.8% | CSS 5.5% | Python 4.1% | JavaScript 3.4% | HTML 0.2%
🌐
GitHub
github.com › vankop › jsoneditor-react
GitHub - vankop/jsoneditor-react: react wrapper implementation for https://github.com/josdejong/jsoneditor
jsoneditor-react using minimalist version of jsoneditor to minimize flat bundle size, so if you want to use Ajv or Ace Editor install them as well
Starred by 277 users
Forked by 107 users
Languages   JavaScript 99.8% | CSS 0.2% | JavaScript 99.8% | CSS 0.2%
🌐
CodeSandbox
codesandbox.io › examples › package › jsoneditor-react
jsoneditor-react examples - CodeSandbox
Use this online jsoneditor-react playground to view and fork jsoneditor-react example apps and templates on CodeSandbox.
🌐
GitHub
github.com › josdejong › jsoneditor › blob › develop › examples › react_advanced_demo › README.md
jsoneditor/examples/react_advanced_demo/README.md at develop · josdejong/jsoneditor
A web-based tool to view, edit, format, and validate JSON - jsoneditor/examples/react_advanced_demo/README.md at develop · josdejong/jsoneditor
Author   josdejong
🌐
npm
npmjs.com › package › json-edit-react
json-edit-react - npm
October 1, 2025 - # Depending on your package manager: npm i json-edit-react # OR yarn add json-edit-react · import { JsonEditor } from 'json-edit-react' // In your React component: return ( <JsonEditor data={ jsonData } setData={ setJsonData } // optional { ...otherProps } /> ); (for end user) It's pretty self explanatory (click the "edit" icon to edit, etc.), but there are a few not-so-obvious ways of interacting with the editor: Double-click a value (or a key) to edit it ...
      » npm install json-edit-react
    
Published   Oct 01, 2025
Version   1.29.0
Author   Carl Smith
🌐
Carlosnz
carlosnz.github.io › json-edit-react
JSON•Edit•React
A highly-configurable React component for editing or viewing JSON/object data
🌐
GitHub
github.com › constantoduol › JSONEditor
GitHub - constantoduol/JSONEditor: A react visual json editor
import {JSONEditor} from 'react-json-editor-viewer'; constructor(){ this.onJsonChange = this.onJsonChange.bind(this); } onJsonChange(key, value, parent, data){ console.log(key, value, parent, data); } <JSONEditor data={{ the: "men", that: "landed", on: "the", moon: "were", maybe: 2, i: "think", probably: ["neil armstrong", "buzz aldrin"], am_i_right: true }} collapsible onChange={this.onJsonChange} view="dual" /> See the source for the Demo App ·
Starred by 103 users
Forked by 18 users
Languages   JavaScript 99.5% | HTML 0.5% | JavaScript 99.5% | HTML 0.5%
🌐
Hasura
jsoneditor.hasura.me
JSONEditor | React advanced demo
You need to enable JavaScript to run this app
Find elsewhere
🌐
Stack Overflow
stackoverflow.com › questions › 65791243 › convert-class-component-in-react-javascript-to-functional-component-in-react-typ
reactjs - Convert class component in React Javascript to Functional Component in React TypeScript - Stack Overflow
import React, {Component} from 'react'; import JSONEditor from 'jsoneditor'; import 'jsoneditor/dist/jsoneditor.css'; import './JSONEditorDemo.css'; export default class JSONEditorDemo extends Component { componentDidMount () { const options = { mode: 'tree', onChangeJSON: this.props.onChangeJSON }; this.jsoneditor = new JSONEditor(this.container, options); this.jsoneditor.set(this.props.json); } componentWillUnmount () { if (this.jsoneditor) { this.jsoneditor.destroy(); } } componentDidUpdate() { this.jsoneditor.update(this.props.json); } render() { return ( <div className="jsoneditor-react-container" ref={elem => this.container = elem} /> ); } }
🌐
ReactScript
reactscript.com › home › categories › others › visual json editor in react
Visual JSON Editor In React | Reactscript
September 15, 2022 - Live Demo Download Source Code · A React-based visual JSON editor. 1. Install & import. # NPM $ npm i react-json-editor-ui · import * as React from 'react' import * as ReactDOM from 'react-dom' import JsonEditor from 'react-json-editor-ui' import 'react-json-editor-ui/dist/react-json-editor-ui.cjs.development.css' 2.
🌐
npm
npmjs.com › package › react-json-editor
react-json-editor - npm
May 19, 2017 - A dynamic form component for React using a specification format based on JSON-Schema. The full code for the demo can be found at https://github.com/ismaelga/react-json-editor/blob/master/demos/demo.jsx.
      » npm install react-json-editor
    
Published   May 19, 2017
Version   0.3.0
Author   Ismael Abreu
🌐
CodeSandbox
codesandbox.io › s › github › SaravananRajaraman › React-JSON-Editor-Demo
react-json-editor - CodeSandbox
February 26, 2019 - react-json-editor using react, react-dom, react-json-editor-ajrm, react-scripts
Published   Feb 26, 2019
🌐
Bytescrum
blog.bytescrum.com › how-to-use-jsoneditor-in-a-react-app
How to Use JSONEditor in a React App
April 8, 2024 - powerful tool for editing JSON data in a visual interface. In this tutorial, we'll walk through how to integrate JSONEditor into a React app to import JSON data from a file, edit it using the JSONEditor interface, and save the updated JSON data ...
🌐
DhiWise
dhiwise.com › post › mastering-jsoneditor-react-for-efficient-data-manipulation
Mastering JSONEditor React: A Comprehensive Guide
October 25, 2023 - Setting up the Environment for JSONEditor ReactHow to Edit JSON Data in ReactImplementing JSON Editor in ReactDisplaying JSON in ReactJSUsing ACE Editor in ReactLoading JSON Editor IconsHow to Import Brace in JSONEditor ReactImplementing Your Own Import ImportedComponentMinimizing Flat Bundle Size in JSONEditor ReactDebugging JavaScript Object Syntax in JSONEditor ReactAutomatically Updating JSONEditor ReactConclusion: The Power of JSONEditor React in Web Development
🌐
GitHub
github.com › Eightyplus › react-json-editor
GitHub - Eightyplus/react-json-editor: JSON editor for React
February 25, 2020 - class MyComponent extends Component { constructor(props) { super(props); this.state = { json: undefined /* setup here or load elsewhere */ } } callback = (changes) => { this.setState({json: changes}); }; render() { return ( <div> <JsonEditor value={this.state.json} propagateChanges={this.callback}/> </div> ); } } It possible to parse and see errorMessage from parsing with the following helper method · import { parse } from 'react-json-edit'; load_callback(text) { const parsed = parse(text); if(parsed.json === undefined) { this.setState({message: parsed.errorText}); } else { this.setState({json: parsed.json, message: undefined}); } } render() { return ( <div> <JsonEditor value={this.state.json} propagateChanges={this.callback}/> <span>{this.state.message}</span> </div> ); }
Starred by 11 users
Forked by 5 users
Languages   JavaScript 98.1% | CSS 1.6% | HTML 0.3% | JavaScript 98.1% | CSS 1.6% | HTML 0.3%
🌐
CodeSandbox
codesandbox.io › examples › package › jsoneditor-react › index.html
jsoneditor-react/index.html examples - CodeSandbox
Use this online jsoneditor-react/index.html playground to view and fork jsoneditor-react/index.html example apps and templates on CodeSandbox.
🌐
GitHub
github.com › josdejong › jsoneditor › tree › master › examples › react_demo
jsoneditor/examples/react_demo at master · josdejong/jsoneditor
September 12, 2018 - A web-based tool to view, edit, format, and validate JSON - jsoneditor/examples/react_demo at master · josdejong/jsoneditor
Author   josdejong
🌐
GitHub
github.com › vankop › jsoneditor-react › blob › master › README.md
jsoneditor-react/README.md at master · vankop/jsoneditor-react
```jsoneditor-react``` using minimalist version of ```jsoneditor``` to minimize flat bundle size, so if you want to use [Ajv](https://github.com/epoberezkin/ajv) or [Ace Editor](https://github.com/thlorenz/brace) install them as well
Author   vankop