JSONJoy Builder is a React component library for visually editing JSON Schema definitions. Version 1.0.3 is the current stable release. It provides a visual schema editor, a Monaco-based JSON source editor, schema inference from example JSON, and JSON validation. The library is fully typed (TypeScript), requires React 19+ and monaco-editor 0.25+, and is designed for easy integration into existing apps. Key differentiators: controlled component pattern, multiple component options (SchemaBuilder, SchemaFieldsEditor, SchemaJsonEditor), and schema inference from sample data.
npm install jsonjoy-builderNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage of SchemaBuilder with controlled state. Shows how to import styles, component, and type, and manage the schema value.
Add the CSS import to your app entry point.
Upgrade react and react-dom to >=19.0.0.
Use value+onChange pair instead of defaultValue.
Install monaco-editor: npm install monaco-editor
Use a bundler that supports ESM (e.g., Vite, Webpack 5, Next.js 12+).
npm install monaco-editor
Upgrade to React 19: npm install react@19 react-dom@19
Pass a valid JSON Schema object as the value prop, e.g., { type: 'object' }.Set readOnly as a boolean: readOnly={false} or readOnly={true}.