🌐
GitHub
github.com › felipecarrillo100 › react-jsoneditor-wrapper
GitHub - felipecarrillo100/react-jsoneditor-wrapper: A React Typescript wrapper for jsoneditor by josdejong.
A React Typescript wrapper for jsoneditor by josdejong. - felipecarrillo100/react-jsoneditor-wrapper
Starred by 3 users
Forked by 2 users
Languages   TypeScript 72.5% | CSS 27.5% | TypeScript 72.5% | CSS 27.5%
🌐
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%
🌐
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 › 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} /> ); } })); You can view usage of jsoneditor-react using our storybook.
      » npm install jsoneditor-react
    
Published   Dec 17, 2021
Version   3.1.2
Author   Ivan Kopeykin
🌐
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
🌐
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 is written with Svelte, but can be used in plain JavaScript too and in any framework (SolidJS, React, Vue, Angular, etc.). It requires a browser from March 2022 or newer. ... Note that svelte-jsoneditor@3.x requires Svelte 5.
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%
🌐
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 › topics › json-editor
Build software better, together
react template json-editor ... json-editor · Updated · Sep 6, 2021 · TypeScript · Star 7 · A simple react component to handle JSON editing....
🌐
GitHub
github.com › dustyjay › json-editor
GitHub - dustyjay/json-editor: The JSON Editor for React is a lightweight and fully customizable React component that provides an intuitive interface for editing JSON data. It supports syntax highlighting, validation, and a tree-based structure, making it ideal for developers and applications that require interactive JSON editing.
// eslint.config.js import reactX from 'eslint-plugin-react-x' import reactDom from 'eslint-plugin-react-dom' export default tseslint.config({ plugins: { // Add the react-x and react-dom plugins 'react-x': reactX, 'react-dom': reactDom, }, rules: { // other rules... // Enable its recommended typescript rules ...reactX.configs['recommended-typescript'].rules, ...reactDom.configs.recommended.rules, }, })
Author   dustyjay
Find elsewhere
🌐
npm
npmjs.com › package › @types › jsoneditor-for-react
@types/jsoneditor-for-react - npm
This package contains type definitions for jsoneditor-for-react (https://github.com/mixj93/jsoneditor-for-react#readme).
      » 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/
🌐
GitHub
github.com › AndrewRedican › react-json-editor-ajrm
GitHub - AndrewRedican/react-json-editor-ajrm: A modular, easy to use, react component, to view, edit, and debug javascript objects.
A stylish, editor-like, modular, react component for viewing, editing, and debugging javascript object syntax!
Starred by 360 users
Forked by 126 users
Languages   JavaScript 98.9% | JavaScript 98.9%
🌐
GitHub
github.com › CarlosNZ › json-edit-react
GitHub - CarlosNZ/json-edit-react: React component for editing/viewing JSON/object data · GitHub
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 › shridhar-tl › react-json-editor
GitHub - shridhar-tl/react-json-editor: Contains source code for the JSON Editor package available in NPM
import React, { PureComponent } from 'react'; import { JSONEditor } from 'reactjs-json-editor'; import 'reactjs-json-editor/css/style.css'; class App extends PureComponent { state = { objectToEdit: { aString: 'Some string', aNumber: 123.45, aLink: 'https://www.google.com', aNull: null, anUndefined: undefined, object: { anArray: [ new Date(), { string: 'Some other string' } ] } } }; setValue = (value) => this.setState({ objectToEdit: value }); render() { const { objectToEdit } = this.state; return ( <JSONEditor value={objectToEdit} onChange={this.setValue} /> ); } } export default App; Supports viewing JS Object / JSON in tree format.
Author   shridhar-tl
🌐
GitHub
github.com › DefinitelyTyped › DefinitelyTyped › tree › master › types › jsoneditor-for-react
DefinitelyTyped/types/jsoneditor-for-react at master · DefinitelyTyped/DefinitelyTyped
The repository for high quality TypeScript type definitions. - DefinitelyTyped/types/jsoneditor-for-react at master · DefinitelyTyped/DefinitelyTyped
Author   DefinitelyTyped
🌐
GitHub
github.com › hexa1 › react-json-editor
GitHub - hexa1/react-json-editor: React component for editing JSON objects
react-bootstrap ^0.29.3 (for tooltips and popovers) The editor also uses some Font Awesome icons so you should have that as well · import JSONEditor from 'react-json-editor'; // in your component <JSONEditor json={{ foo: 'bar' }} onChange={json ...
Author   hexa1
🌐
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
🌐
GitHub
github.com › mixj93 › react-json-editor
GitHub - mixj93/react-json-editor: React wrapper for josdejong/jsoneditor
editorChangeHandler = (values) => { console.log('new values', values) this.setState({values: values}) } render() { return ( <div className="App"> <ReactJsonEditor values={this.state.values} onChange={(values) => {this.editorChangeHandler(values)}}/> </div> ); } } export default App; support jsoneditor options ·
Author   mixj93
🌐
GitHub
github.com › Eightyplus › react-json-editor
GitHub - Eightyplus/react-json-editor: JSON editor for React
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%