Could use Monaco editor. It's open source and has been easy to work with ime and is feature rich https://github.com/microsoft/monaco-editor Edit: added GitHub link Answer from piminto on reddit.com
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%
Rodikh
rodikh.github.io › angular-json-editor
Angular-json-editor
JSON Editor takes a JSON Schema and uses it to generate an HTML form.
npm
npmjs.com › package › ang-jsoneditor
ang-jsoneditor - npm
» npm install ang-jsoneditor
Published Apr 09, 2025
Version 4.0.2
Author Mario Mol
Repository https://github.com/mariohmol/ang-jsoneditor
UNPKG
unpkg.com › browse › ang-jsoneditor@1.5.6 › README.md
UNPKG
## Installation To install this library with npm, run below command: $ npm install --save ang-jsoneditor ## Usage ### Configuration First, Import Angular JsonEditor module in root ```ts import { NgJsonEditorModule } from 'ang-jsoneditor' @NgModule({ declarations: [ AppComponent ], imports: [ ...., NgJsonEditorModule ], providers: [], bootstrap: [AppComponent] }) export class AppModule { } ``` Then setup your component models as below : ```ts import { Component, ViewChild } from '@angular/core'; import { JsonEditorComponent, JsonEditorOptions } from 'ang-jsoneditor/jsoneditor/jsoneditor.compone
Reddit
reddit.com › r/angular2 › best angular json editor?
r/Angular2 on Reddit: Best Angular JSON editor?
September 6, 2024 -
I'm looking for a JSON editor (view/edit) on my Angular project. And it seems like most of them are no longer maintained for higher Angular version (I'm using v17). Wondering if you guys could suggest me a few of what you're using. Thank you.
Top answer 1 of 3
9
Could use Monaco editor. It's open source and has been easy to work with ime and is feature rich https://github.com/microsoft/monaco-editor Edit: added GitHub link
2 of 3
2
Maybe you can try the CodeMirror v6 and there already an Angular wrapper component. https://github.com/acrodata/code-editor JSON editor demo: https://acrodata.github.io/gui/playground
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
GitHub
github.com › AjinkyaBijwe › Json-Editor
GitHub - AjinkyaBijwe/Json-Editor: Angular JSON Editor made using Angular 9, json-editor js and Angular Material v8
This project is made with latest Angular 9 and open source libraries like angular material, 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 › 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
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
Repository https://github.com/MaaxGr/ang-jsoneditor
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%
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
npm
npmjs.com › package › angular-jsoneditor
angular-jsoneditor - npm
Angular wrapper for jsoneditor. Latest version: 0.0.2, last published: 9 years ago. Start using angular-jsoneditor in your project by running `npm i angular-jsoneditor`. There are 1 other projects in the npm registry using angular-jsoneditor.
» npm install angular-jsoneditor
Published Mar 24, 2017
Version 0.0.2
Author Paul Biester
Repository https://github.com/isonet/angular-jsoneditor
Stack Overflow
stackoverflow.com › questions › 76023438 › angular-json-editor
jsoneditor - Angular JSON Editor - Stack Overflow
There is a npm package called jsoneditor which may be what you need. You can install it on your project with npm i jsoneditor ... Sign up to request clarification or add additional context in comments.
GitHub
github.com › mariohmol › ang-jsoneditor › blob › master › src › app › demo › demo.component.ts
ang-jsoneditor/src/app/demo/demo.component.ts at master · mariohmol/ang-jsoneditor
Angular Jsoneditor that works with angular 4 to angular 15 - mariohmol/ang-jsoneditor
Author mariohmol
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 · © 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; } }