@cto.ai/react-json-editor-ajrm

1.0.2 • Public • Published

Fork of React JSON Editor (AJRM)

This repository is a fork of the React JSON Editor (AJRM) project by Andrew Redican. The original project aimed to provide a versatile JSON editor for React applications. This fork has been created to address specific issues or improvements.

Overview

React JSON Editor (AJRM) is a flexible and customizable JSON editor for React applications. It allows users to visualize and edit JSON data with a user-friendly interface.

Changes in this Fork

  • [Fix issue with the "nodeType" property]: Currently, attempting to use the "nodeType" property in the JSON editor results in an error. This occurs because the library attempts to tokenize the content and incorrectly identifies it as a DOM element. Consequently, it tries to invoke a method called "cloneNode," which is present in the DOM but not in JSON objects. In this fork, we have addressed this issue by validating that the object possesses the "cloneNode" method. Alt Text

License

This fork inherits the MIT License from the original project.

Acknowledgments

Package Sidebar

Install

npm i @cto.ai/react-json-editor-ajrm

Weekly Downloads

6

Version

1.0.2

License

none

Unpacked Size

324 kB

Total Files

36

Last publish

Collaborators

  • marco.guillen.cto
  • santiagokirkcto
  • cto.ai-admin
  • slajax
  • brettcampbell