2.0.4 • Published 2 years ago

material-jsoneditor-umd v2.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

JSON Editor for Material UI 5.4

A simple editor library for visually editing JSON objects built using Material UI.

How to use

  1. Add as a dependency
npm i material-jsoneditor
  1. Import the component into your project
import { Editor } from 'material-jsoneditor';
  1. Add the component to your project
const myComponent = () => {
  const [myObj, setObj] = useState({});

  return <Editor value={myObj} onChange={setObj} />;
};

Demo

Visit https://andrewlowndes.github.io/material-jsoneditor/dist/ to use the pre-built editor online. Copy your JSON into the right panel and edit on the left.

Roadmap

  • Change types at any depth (number, boolean, string, array, object and null)
  • UI Editors for values of all types
  • Triggers for all JSON object changes
  • Designed for mobile first
  • Breadcrumb dropdowns for quick property navigation
  • Drag and drop array editing
  • Tabular view for arrays of objects
  • Easier duplication / mass deletion
  • Inline editing for objects / array primitives
  • Extra UI Editors for Date / Time / DateTime / Colour picker

Development

Checkout the repo, install dependencies via npm i and start the development server via npm start.

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago