🌐
GitHub
github.com › felipecarrillo100 › react-jsoneditor-wrapper
GitHub - felipecarrillo100/react-jsoneditor-wrapper: A React Typescript wrapper for jsoneditor by josdejong.
<ReactJSONEditor ref={ref => (this.jsonEditorRef = ref)} text={this.state.content} name="properties" mode="code" modes={["code"]}/>
Starred by 3 users
Forked by 2 users
Languages   TypeScript 72.5% | CSS 27.5% | TypeScript 72.5% | CSS 27.5%
🌐
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
🌐
npm
npmjs.com › package › @types › jsoneditor-for-react
@types/jsoneditor-for-react - npm
import JSONEditor, { JSONEditorOptions } from "jsoneditor"; import * as React from "react"; export interface ReactJsonEditorProps { values: {}; } export default class ReactJsoneditor extends React.Component<ReactJsonEditorProps> { private editor?: ...
      » npm install @types/jsoneditor-for-react
    
🌐
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
I have been trying to integrate the JSONEditor into a React TypeScript application. The working sample of React JavaScript version is available at https://github.com/josdejong/jsoneditor/blob/master/examples/react_demo/src/JSONEditorDemo.js (and reproduced below).
🌐
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%
🌐
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
... First, let’s start by installing @microlink/react-json-view, a maintained and powerful library for editing JSON data in React. ... Next, we’ll create a JSON editor component using @microlink/react-json-view.
🌐
CodeSandbox
codesandbox.io › s › kxn7k5jyzo
JSONEditor + React + TypeScript - CodeSandbox
January 30, 2020 - JSONEditor + React + TypeScript by josdejong using jsoneditor, mathjs, react, react-dom, react-scripts-ts
Published   Sep 12, 2018
Author   josdejong
🌐
DhiWise
dhiwise.com › post › mastering-jsoneditor-react-for-efficient-data-manipulation
Mastering JSONEditor React: A Comprehensive Guide
October 25, 2023 - Editing JSON data in React using JSONEditor is straightforward. You simply pass the JSON data to the JSONEditor component as a prop, and it will render an interactive editor with the data. Here's an example of how to use the JSONEditor component to edit JSON data:
🌐
Stack Overflow
stackoverflow.com › questions › 71948069 › how-to-test-jsoneditor-in-react-component
reactjs - How to test jsoneditor in react component - Stack Overflow
import React, { useEffect, useRef } from 'react' import JSONEditor from "jsoneditor"; import 'jsoneditor/dist/jsoneditor.css'; export const JsonPanel = ({ json }: any) => { const jsonRef = useRef<HTMLDivElement | null>(null) useEffect(() => { let jsonEditor: JSONEditor | null = null if (jsonRef.current) { jsonEditor = new JSONEditor(jsonRef.current, { modes: ['code', 'tree'] }, json); } return () => jsonEditor?.destroy() }, [json]) return ( <div id='json-panel' ref={jsonRef} /> ) }
Find elsewhere
🌐
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, ... initialJsonData = response.default; // Create the editor const options = {}; const editor = new JSONEditor(editorRef.current, options); editorRef.current.jsonEditor = editor; // Store the editor ...
🌐
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" />
Starred by 103 users
Forked by 18 users
Languages   JavaScript 99.5% | HTML 0.5% | JavaScript 99.5% | HTML 0.5%
🌐
npm
npmjs.com › package › vanilla-jsoneditor
vanilla-jsoneditor - npm
Depending on whether you are using JavaScript of TypeScript, create either a JSX or TSX file: // // JSONEditorReact.tsx // import { useEffect, useRef } from 'react' import { createJSONEditor, JSONEditorPropsOptional } from 'vanilla-jsoneditor' const JSONEditorReact: React.FC<JSONEditorPropsOptional> = (props) => { const refContainer = useRef<HTMLDivElement>(null) const refEditor = useRef<JSONEditor | null>(null) useEffect(() => { // create editor refEditor.current = createJSONEditor({ target: refContainer.current!, props: {} }) return () => { // destroy editor if (refEditor.current) { refEditor.current.destroy() refEditor.current = null } } }, []) useEffect(() => { // update props if (refEditor.current) { refEditor.current.updateProps(props) } }, [props]) return <div ref={refContainer}></div> } export default JSONEditorReact
      » npm install vanilla-jsoneditor
    
Published   Dec 10, 2025
Version   3.11.0
🌐
jsDelivr
jsdelivr.com › package › npm › @types › jsoneditor-for-react
@types/jsoneditor-for-react CDN by jsDelivr - A CDN for npm and GitHub
November 7, 2023 - A free, fast, and reliable CDN for @types/jsoneditor-for-react. TypeScript definitions for jsoneditor-for-react
Published   Apr 03, 2018
🌐
Reddit
reddit.com › r/reactjs › json viewer with editor
r/reactjs on Reddit: JSON Viewer with Editor
August 1, 2017 -

I'm looking for feedback on react-json-view

it's a production-ready component for displaying and interacting with JSON objects.

Here's the Component Demo

features include:

  • base-16 themes

  • add/edit/delete nodes

  • clipboard enabled

  • clickable collapse/expand

I see this component being useful for any technical docs that allude to JSON data structures.

  • what would you use it for?

  • what features would you like to see added?

  • is there any reason this wouldn't be your go-to JSON and array viewer?

thank you for feedback!

🌐
Webdevtutor
webdevtutor.net › blog › typescript-react-json-editor
Creating a JSON Editor with TypeScript and React
import React from 'react'; import JsonEditor from './JsonEditor'; const App: React.FC = () => { return ( <div> <h1>JSON Editor</h1> <JsonEditor /> </div> ); }; export default App; By combining the features of TypeScript and React, you can create a powerful JSON editor that enhances your development ...
🌐
GitHub
github.com › vankop › jsoneditor-react › issues › 65
Typescript support · Issue #65 · vankop/jsoneditor-react
June 29, 2021 - Hello, is there any options to use this package with typescript? Original jsoneditor has typescript definitions in DefinetelyTyped. Would be glad any recommendations for usage with typescript:) thanks
Author   valerii15298
🌐
CodeSandbox
codesandbox.io › examples › package › jsoneditor
jsoneditor examples - CodeSandbox
kameron1979/JSONEditor · affinidi-vcms-browser-app · rn-composable · web · react_advanced_demo · editor json · amanjotsinghdhunna · dev-tools · chartfun · nedphae/contact-center-clientContact center client based on React, React Router, Webpack, React Hot Loader, and Material-UI ·
🌐
Npm
npm.io › search › keyword:jsonEditor
JsonEditor | npm.io
angular4jsoneditorangular4-jsoneditorng4-jsoneditorangular1.0.7 • Published 8 years ago · A React Typescript wrapper for jsoneditor by josdejong.