🌐
npm
npmjs.com › package › vanilla-jsoneditor
vanilla-jsoneditor - npm
This is the vanilla variant of svelte-jsoneditor, which can be used in vanilla JavaScript or frameworks like SolidJS, React, Vue, Angular.
      » npm install vanilla-jsoneditor
    
Published   Dec 10, 2025
Version   3.11.0
🌐
GitHub
github.com › josdejong › svelte-jsoneditor
GitHub - josdejong/svelte-jsoneditor: A web-based tool to view, edit, format, repair, query, transform, and validate JSON · GitHub
The library provides a vanilla bundle of the editor via the npm library vanilla-jsoneditor (instead of svelte-jsoneditor) which can be used in any browser environment and framework.
Starred by 1.2K users
Forked by 145 users
Languages   TypeScript 53.8% | Svelte 36.8% | SCSS 6.3% | HTML 1.3% | JavaScript 1.2% | CSS 0.6%
🌐
npm
npmjs.com › package › jsoneditor-react
jsoneditor-react - npm
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
🌐
CodeSandbox
codesandbox.io › examples › package › vanilla-jsoneditor
vanilla-jsoneditor examples - CodeSandbox
svelte-jsoneditor react (forked)Demo showing how to use svelte-jsoneditor in React · leidsondiasFind more examples or templates · AboutA web-based tool to view, edit, format, transform, and validate JSON140,989Weekly Downloads · Latest version3.11.0 · LicenseISC · External Links · github.com/josdejong/svelte-jsoneditor · github.com/josdejong/svelte-jsoneditor · github.com/josdejong/svelte-jsoneditor/issues · @vanilla-jsoneditorCollaborators
🌐
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
export const Editor = (props: IProps) => { const mode : JSONEditorMode = "tree"; const elRef = React.useRef<HTMLDivElement | null>(null); const editorRef = React.useRef<JSONEditor | null>(null); const unmountEditor = () => { editorRef.current?.destroy(); } React.useEffect(() => { //const container = document.getElementById("jsoneditor"); const container = elRef.current; const options : JSONEditorOptions = { mode: mode, onChangeJSON: props.onChangeJSON, }; if (container) { const jsonEditor = new JSONEditor(container, options); jsonEditor.set(props.json); editorRef.current = jsonEditor; } return unmountEditor; }, [props]); return <div id="jsoneditor" ref={elRef} className="jsoneditor-react-container" />; };
🌐
GitHub
github.com › josdejong › svelte-jsoneditor › blob › main › README-VANILLA.md
svelte-jsoneditor/README-VANILLA.md at main · josdejong/svelte-jsoneditor
This is the vanilla variant of svelte-jsoneditor, which can be used in vanilla JavaScript or frameworks like SolidJS, React, Vue, Angular.
Author   josdejong
🌐
npm
npmjs.com › package › @vidday › vanilla-jsoneditor
@vidday/vanilla-jsoneditor - npm
This is the vanilla variant of svelte-jsoneditor, which can be used in vanilla JavaScript or frameworks like SolidJS, React, Vue, Angular.
      » npm install @vidday/vanilla-jsoneditor
    
Published   Oct 23, 2022
Version   0.7.20
🌐
CodeSandbox
codesandbox.io › s › svelte-jsoneditor-react-59wxz
svelte-jsoneditor react - CodeSandbox
November 27, 2024 - Demo showing how to use svelte-jsoneditor in React
Published   Mar 20, 2021
Author   josdejong
🌐
GitHub
github.com › CarlosNZ › json-edit-react
GitHub - CarlosNZ/json-edit-react: React component for editing/viewing JSON/object data · GitHub
# 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 ·
Starred by 616 users
Forked by 37 users
Languages   TypeScript 86.8% | CSS 5.5% | Python 4.1% | JavaScript 3.4% | HTML 0.2%
Find elsewhere
🌐
Socket
socket.dev › npm › package › vanilla-jsoneditor
vanilla-jsoneditor - npm Package Security Analysis - Socket
This is the vanilla variant of svelte-jsoneditor, which can be used in vanilla JavaScript or frameworks like SolidJS, React, Vue, Angular.
🌐
GitHub
github.com › vankop › jsoneditor-react
GitHub - vankop/jsoneditor-react: react wrapper implementation for https://github.com/josdejong/jsoneditor
react wrapper implementation for josdejong/jsoneditor
Starred by 277 users
Forked by 107 users
Languages   JavaScript 99.8% | CSS 0.2% | JavaScript 99.8% | CSS 0.2%
🌐
DhiWise
dhiwise.com › post › mastering-jsoneditor-react-for-efficient-data-manipulation
Mastering JSONEditor React: A Comprehensive Guide
October 25, 2023 - It is a wrapper around the JSONEditor library, which provides a graphical user interface for working with JSON data. The JSONEditor React component makes it easy to integrate this functionality into a React application.
🌐
npm
npmjs.com › package › json-edit-react
json-edit-react - npm
# 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
🌐
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.
🌐
Carlosnz
carlosnz.github.io › json-edit-react
JSON•Edit•React
A highly-configurable React component for editing or viewing JSON/object data
🌐
Tim Santeford
timsanteford.com › posts › building-a-custom-json-editor-in-react-with-and-without-react-json-view
Building a Custom JSON Editor in React with and without react-json-view - Tim Santeford
import React, { useState } from 'react'; import ReactJson from '@microlink/react-json-view'; interface JsonEditorProps { json: object; onChange: (json: object) => void; } const JsonEditor: React.FC<JsonEditorProps> = ({ json, onChange }) => { const handleJsonChange = (e: any) => { onChange(e.updated_src); }; return ( <div> <h1>JSON Editor using react-json-view</h1> <ReactJson src={json} onEdit={handleJsonChange} onAdd={handleJsonChange} onDelete={handleJsonChange} theme="monokai" /> </div> ); }; export default JsonEditor; Now, integrate the JsonEditor component into your main application file.
🌐
GitHub
github.com › RavenPeng › json-editor
GitHub - RavenPeng/json-editor: A json editor based on react and antd.
import React from 'react'; import Editor from '@holiday_peng/json-editor'; class JSONEditor extends React.Component { render() { const EditorIns = new Editor(schema).init(); return ( <div className='editor-wrapper'> <EditorIns/> </div> ); } } export default JSONEditor;
Author   RavenPeng
🌐
Bytescrum
blog.bytescrum.com › how-to-use-jsoneditor-in-a-react-app
How to Use JSONEditor in a React App
March 29, 2024 - import React, { useState, useEffect, useRef } from 'react'; import JSONEditor from 'jsoneditor'; const App = () => { const [jsonData, setJsonData] = useState(null); const editorRef = useRef(null); useEffect(() => { if (!editorRef.current) { return; } const fetchData = async () => { try { // Import the JSON file const response = await import('./data.json'); const initialJsonData = response.default; // Create the editor const options = {}; const editor = new JSONEditor(editorRef.current, options); editorRef.current.jsonEditor = editor; // Store the editor instance // Set the JSON data editor.set