You cannot load an external library which is not supported by React. The editor you want to use has no React compatible component class yet. So If you try to import the file like you import other components, you will get errors.

So for now you have to include the Library as script tag only to use. wait till there is an update from the developer or try another library.

Or take a look at React Json Editor if it serves your purpose.

Answer from Prabodh M on Stack Overflow
🌐
npm Trends
npmtrends.com › jsoneditor-vs-jsoneditor-react-vs-react-json-editor-ajrm
jsoneditor vs jsoneditor-react vs react-json-editor-ajrm | npm trends
Comparing trends for jsoneditor 10.4.2 which has 236,385 weekly downloads and 12,172 GitHub stars vs. jsoneditor-react 3.1.2 which has 29,797 weekly downloads and 277 GitHub stars vs. react-json-editor-ajrm 2.5.14 which has 58,049 weekly downloads and 360 GitHub stars.
🌐
NPM Compare
npm-compare.com › jsoneditor,jsoneditor-react,react-json-editor-ajrm,react-json-view,react-jsonschema-form
react-json-view vs jsoneditor vs react-json-editor-ajrm vs react-jsonschema-form vs jsoneditor-react | JSON Editing Libraries for React
Comprehensive comparison of react-json-view, jsoneditor, react-json-editor-ajrm, react-jsonschema-form, jsoneditor-react npm packages, including features, npm download trends, ecosystem, popularity, and performance.
🌐
NPM Compare
npm-compare.com › jsoneditor,react-json-editor-ajrm,react-json-tree,react-json-view,react-jsonschema-form
react-json-view vs react-json-tree vs jsoneditor vs react-json-editor-ajrm vs react-jsonschema-form | JSON Editing Libraries for Web Development Comparison
February 26, 2021 - With features like expandable nodes and customizable styles, react-json-tree is a great choice for applications that need to present JSON data in a user-friendly format. However, there are several alternatives available that also offer similar functionalities. Here are a few noteworthy options: react-json-editor-ajrm is a JSON editor for React applications that allows users to edit JSON data in a structured format.
🌐
npm
npmjs.com › package › react-json-editor-ajrm
react-json-editor-ajrm - npm
January 29, 2023 - A stylish, editor-like, modular, react component for viewing, editing, and debugging javascript object syntax!. Latest version: 2.5.14, last published: 3 years ago. Start using react-json-editor-ajrm in your project by running `npm i react-json-editor-ajrm`. There are 87 other projects in the ...
      » npm install react-json-editor-ajrm
    
Published   Jan 29, 2023
Version   2.5.14
Author   andrew.redican.mejia@gmail.com
🌐
Openbase
openbase.com › js › react-json-editor-ajrm › alternatives
react-json-editor-ajrm: Alternatives | Openbase
January 29, 2023 - A comparison of the best react-json-editor-ajrm alternatives: grapesjs-react, @ckeditor/ckeditor5-react, react-froala-wysiwyg, react-simple-code-editor, react-contenteditable and more
🌐
CodeSandbox
codesandbox.io › examples › package › react-json-editor-ajrm
react-json-editor-ajrm examples - CodeSandbox
Use this online react-json-editor-ajrm playground to view and fork react-json-editor-ajrm example apps and templates on CodeSandbox.
🌐
Reddit
reddit.com › r/reactjs › react-json-view: best possible option? alternatives?
r/reactjs on Reddit: react-json-view: best possible option? alternatives?
June 30, 2022 - Right now my idea is to use react-json-view, so the user can go in and do all of the inline editing through that tool, in order to save new JSON data. One key thing is I want to sort of stay as industry standard as possible, before I go all out on building this out, does anybody know of any good alternatives to this package?
Find elsewhere
🌐
NPM Compare
npm-compare.com › jsoneditor
jsoneditor | Compare Similar NPM Packages
This library jsoneditor has a successor: svelte-jsoneditor. The new editor is not a one-to-one replacement, so there may be reasons to stick with jsoneditor.
🌐
GitHub
github.com › AndrewRedican › react-json-editor-ajrm › blob › master › package.json
react-json-editor-ajrm/package.json at master · AndrewRedican/react-json-editor-ajrm
"name": "react-json-editor-ajrm", "version": "2.5.14", "description": "A stylish, editor-like, modular, react component for viewing, editing, and debugging javascript object syntax!", "author": "andrew.redican.mejia@gmail.com", "license": "MIT", "homepage": "https://github.com/AndrewRedican/react-json-editor-ajrm#readme", "bugs": { "url": "https://github.com/AndrewRedican/react-json-editor-ajrm/issues" }, "main": "index.js", "files": [ "*" ], "sideEffects": false, "scripts": { "contributors:add": "all-contributors add", "contributors:generate": "all-cont
Author   AndrewRedican
🌐
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.
January 29, 2023 - A modular, easy to use, react component, to view, edit, and debug javascript objects. - AndrewRedican/react-json-editor-ajrm
Starred by 360 users
Forked by 126 users
Languages   JavaScript 98.9% | JavaScript 98.9%
🌐
CodeSandbox
codesandbox.io › s › react-json-editor-ajrm-9t2yf
react-json-editor-ajrm - CodeSandbox
April 28, 2020 - react-json-editor-ajrm by IgorBarbashov using react, react-dom, react-json-editor-ajrm, react-scripts
Published   Apr 28, 2020
Author   IgorBarbashov
🌐
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
January 29, 2023 - In this blog post, I’ll walk you through how to build a JSON editor in React using both react-json-view and a custom implementation.
🌐
npm Trends
npmtrends.com › react-json-editor-ajrm
react-json-editor-ajrm | npm trends
A stylish, editor-like, modular, react component for viewing, editing, and debugging javascript object syntax!
🌐
npms
npms.io › search
json-editor
npms was built to empower the javascript community by providing a better and open sourced search for node modules.
🌐
GitHub
github.com › AndrewRedican › react-json-editor-ajrm › blob › master › README.md
react-json-editor-ajrm/README.md at master · AndrewRedican/react-json-editor-ajrm
As you may already know, the react-json-editor-ajrm's orignal project is not actively maintained and that it will eventually be deprecated. So I've decided to set an official date for deprecation.
Author   AndrewRedican