For Angular 10, you can use version 1.10.5 of the Library.

npm i [email protected]

For anyone reading this after 2020 and needs a solution for angular 11 and 12 (and 13 soon).

I've forked the repository and updated it, as i needed the library for a personal project and the original project doesn't seem to be actively maintained at the moment.

https://www.npmjs.com/package/@maaxgr/ang-jsoneditor

For Angular 11:

npm install @maaxgr/ang-jsoneditor@11

For Angular 12:

npm install @maaxgr/ang-jsoneditor@12
Answer from Caelis on Stack Overflow
🌐
npm
npmjs.com › package › ang-jsoneditor
ang-jsoneditor - npm
Angular Json Editor (wrapper for jsoneditor).
      » npm install ang-jsoneditor
    
Published   Apr 09, 2025
Version   4.0.2
Author   Mario Mol
🌐
Rodikh
rodikh.github.io › angular-json-editor
Angular-json-editor
JSON Editor takes a JSON Schema and uses it to generate an HTML form.
🌐
GitHub
github.com › mariohmol › ang-jsoneditor
GitHub - mariohmol/ang-jsoneditor: Angular Jsoneditor that works with angular 4 to angular 15
Angular Jsoneditor that works with angular 4 to angular 15 - mariohmol/ang-jsoneditor
Starred by 162 users
Forked by 101 users
Languages   TypeScript 91.3% | HTML 8.1% | TypeScript 91.3% | HTML 8.1%
🌐
StackBlitz
stackblitz.com › edit › angular-json-editor
Angular Json Editor - StackBlitz
Starter project for Angular apps that exports to the Angular CLI
🌐
UNPKG
unpkg.com › browse › ang-jsoneditor@1.5.6 › README.md
UNPKG
# Angular Json Editor Angular Json Editor (wrapper for jsoneditor). View/Edit Json file with formatting.
🌐
GitHub
github.com › bastiendonjon › angular-jsoneditor
GitHub - bastiendonjon/angular-jsoneditor: Jsoneditor module for Angular
The editor can be used as a component in your own web application. The library can be loaded as CommonJS module, AMD module, or as a regular javascript file. Supported browsers: Chrome, Firefox, Safari, Opera, Internet Explorer 9+. ... Add ngJsonEditor to your app’s module dependencies. ... $scope.json = { "products": [{ "_id": 1, "label": "product1" }, { "_id": 2, "label": "product2" }] }; --optional-- $scope.jsoneditorOptions = { "name": 'Products' };
Starred by 6 users
Forked by 4 users
🌐
GitHub
github.com › mariohmol › ang-jsoneditor › blob › master › README.md
ang-jsoneditor/README.md at master · mariohmol/ang-jsoneditor
Angular Jsoneditor that works with angular 4 to angular 15 - mariohmol/ang-jsoneditor
Author   mariohmol
Find elsewhere
🌐
GitHub
github.com › AjinkyaBijwe › Json-Editor
GitHub - AjinkyaBijwe/Json-Editor: Angular JSON Editor made using Angular 9, json-editor js and Angular Material v8
Angular JSON Editor made using Angular 9, json-editor js and Angular Material v8 - AjinkyaBijwe/Json-Editor
Starred by 7 users
Forked by 3 users
Languages   CSS 58.0% | TypeScript 34.6% | JavaScript 4.1% | HTML 3.3% | CSS 58.0% | TypeScript 34.6% | JavaScript 4.1% | HTML 3.3%
🌐
GitHub
github.com › angular-tools › ng-jsoneditor
GitHub - angular-tools/ng-jsoneditor: Angular version of the insanely cool jsoneditor
http://jsfiddle.net/angulartools/sd3at5ek/ myAppModule.controller('MyController', [ '$scope', function($scope) { $scope.obj = {data: json, options: { mode: 'tree' }}; $scope.btnClick = function() { $scope.obj.options.mode = 'code'; //should switch you to code view } }); Any changes to Jsoneditor or ng-model are reflected instantly. Instead of editor.get() now you can simply access your ng-model, or $scope.obj.data in this case, to get or set values.
Starred by 83 users
Forked by 66 users
Languages   JavaScript 100.0% | JavaScript 100.0%
🌐
npm
npmjs.com › package › @maaxgr › ang-jsoneditor
@maaxgr/ang-jsoneditor - npm
import {Component} from '@angular/core'; import {JsonEditorOptions} from "@maaxgr/ang-jsoneditor"; @Component({ selector: 'app-root', template: '<json-editor [options]="editorOptions" [data]="initialData" (change)="showJson($event)"></json-editor>' + '<div>{{ visibleData | json }}</div>' }) export class AppComponent { public editorOptions: JsonEditorOptions; public initialData: any; public visibleData: any; constructor() { this.editorOptions = new JsonEditorOptions() this.editorOptions.modes = ['code', 'text', 'tree', 'view']; this.initialData = {"products":[{"name":"car","product":[{"name":"honda","model":[{"id":"civic","name":"civic"},{"id":"accord","name":"accord"},{"id":"crv","name":"crv"},{"id":"pilot","name":"pilot"},{"id":"odyssey","name":"odyssey"}]}]}]} this.visibleData = this.initialData; } showJson(d: Event) { this.visibleData = d; } }
      » npm install @maaxgr/ang-jsoneditor
    
Published   Nov 25, 2022
Version   14.0.0
Author   Max Großmann
🌐
npm
npmjs.com › package › ng2-json-editor
ng2-json-editor - npm
Angular2 component for editing large json documents. Latest version: 0.25.52, last published: 2 years ago. Start using ng2-json-editor in your project by running `npm i ng2-json-editor`. There are 4 other projects in the npm registry using ...
      » npm install ng2-json-editor
    
Published   Sep 19, 2023
Version   0.25.52
Author   Harun Urhan
🌐
Krispo
krispo.github.io › json-tree
JSON Editor
JSON-treev0.1.5 · Editable AngularJS directive · {{ meta.title }} · {{ meta.caption }} · Please enable JavaScript to view the comments powered by Disqus · comments powered by Disqus · &copy 2014 Konstantin Skipor, MIT License · Tweet · Issues · Releases · zip · tar.gz
🌐
Npm
npm.io › package › @maaxgr › ang-jsoneditor
@maaxgr/ang-jsoneditor NPM | npm.io
import {Component} from '@angular/core'; import {JsonEditorOptions} from "@maaxgr/ang-jsoneditor"; @Component({ selector: 'app-root', template: '<json-editor [options]="editorOptions" [data]="initialData" (change)="showJson($event)"></json-editor>' + '<div>{{ visibleData | json }}</div>' }) export class AppComponent { public editorOptions: JsonEditorOptions; public initialData: any; public visibleData: any; constructor() { this.editorOptions = new JsonEditorOptions() this.editorOptions.modes = ['code', 'text', 'tree', 'view']; this.initialData = {"products":[{"name":"car","product":[{"name":"honda","model":[{"id":"civic","name":"civic"},{"id":"accord","name":"accord"},{"id":"crv","name":"crv"},{"id":"pilot","name":"pilot"},{"id":"odyssey","name":"odyssey"}]}]}]} this.visibleData = this.initialData; } showJson(d: Event) { this.visibleData = d; } }
🌐
Npm
npm.io › search › keyword:jsonEditor
JsonEditor | npm.io
A json-schema editor of high efficient and easy-to-use, base on Vue · jsonschemajsonschemavuejsonschemaeditorjsonjsoneditor0.1.8 • Published 3 years ago · angularjsoneditorang-jsoneditorng-jsoneditorangular2.0.1 • Published 8 years ago