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
Repository https://github.com/vankop/jsoneditor-react
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
Published Nov 07, 2023
Version 0.0.7
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
Starred by 277 users
Forked by 107 users
Languages JavaScript 99.8% | CSS 0.2% | JavaScript 99.8% | CSS 0.2%
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
Ismaelga
ismaelga.github.io › react-json-editor
react-json-editor - A React dynamic form component for react using JSON-Schema.
We cannot provide a description for this page right now
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} /> ) }
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!
Top answer 1 of 4
2
Very cool. I could see using this in my admin dashboard for live updating my JSON-based application configuration. One tiny visual gripe: The default height of the text-area is too tall for single line inputs. The text-area should be the same size as the input, and grow as needed. This would also eliminate any jank seen when toggling edit mode.
2 of 4
2
Looks great! Starred for future use
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
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 ...
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.