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
npm
npmjs.com › package › ang-jsoneditor
ang-jsoneditor - npm
Working with latest Angular 18/19. To install this library with npm, run below command: ... import { Component, ViewChild } from '@angular/core'; import { JsonEditorComponent, JsonEditorOptions } from 'ang-jsoneditor'; @Component({ selector: 'app-root', template: '<json-editor [options]="editorOptions" [data]="data"></json-editor>', styleUrls: ['./app.component.css'], imports: [JsonEditorComponent] }) export class AppComponent { public editorOptions: JsonEditorOptions; public data: any; // optional @ViewChild(JsonEditorComponent, { static: false }) editor: JsonEditorComponent; constructor() {
» npm install ang-jsoneditor
Published Apr 09, 2025
Version 4.0.2
Author Mario Mol
Repository https://github.com/mariohmol/ang-jsoneditor
GitHub
github.com › mariohmol › ang-jsoneditor
GitHub - mariohmol/ang-jsoneditor: Angular Jsoneditor that works with angular 4 to angular 15
Working with latest Angular 18/19. To install this library with npm, run below command: ... import { Component, ViewChild } from '@angular/core'; import { JsonEditorComponent, JsonEditorOptions } from 'ang-jsoneditor'; @Component({ selector: 'app-root', template: '<json-editor [options]="editorOptions" [data]="data"></json-editor>', styleUrls: ['./app.component.css'], imports: [JsonEditorComponent] }) export class AppComponent { public editorOptions: JsonEditorOptions; public data: any; // optional @ViewChild(JsonEditorComponent, { static: false }) editor: JsonEditorComponent; constructor() {
Starred by 162 users
Forked by 101 users
Languages TypeScript 91.3% | HTML 8.1% | TypeScript 91.3% | HTML 8.1%
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
GitHub
github.com › mariohmol › ang-jsoneditor › blob › master › README.md
ang-jsoneditor/README.md at master · mariohmol/ang-jsoneditor
Working with latest Angular 18/19. To install this library with npm, run below command: ... import { Component, ViewChild } from '@angular/core'; import { JsonEditorComponent, JsonEditorOptions } from 'ang-jsoneditor'; @Component({ selector: 'app-root', template: '<json-editor [options]="editorOptions" [data]="data"></json-editor>', styleUrls: ['./app.component.css'], imports: [JsonEditorComponent] }) export class AppComponent { public editorOptions: JsonEditorOptions; public data: any; // optional @ViewChild(JsonEditorComponent, { static: false }) editor: JsonEditorComponent; constructor() {
Author mariohmol
UNPKG
app.unpkg.com › ang-jsoneditor@1.5.6 › files › README.md
ang-jsoneditor
# Angular Json Editor Angular Json Editor (wrapper for jsoneditor). View/Edit Json file with formatting. ## 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 ...
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
Rodikh
rodikh.github.io › angular-json-editor
Angular-json-editor
The object you pass to configure will be merged with the JSONEditor object. angular.module('demoApp', ['angular-json-editor']).config(function (JSONEditorProvider) { JSONEditorProvider.configure({ plugins: { sceditor: { style: 'sce/development/jquery.sceditor.default.css' } }, defaults: { options: { iconlib: 'bootstrap3', theme: 'bootstrap3', ajax: true } } }); });
GitHub
github.com › Brunoalcau › ng-JsonEditor
GitHub - Brunoalcau/ng-JsonEditor: JSON Edit Angular current version
import { Component, ViewChild } from '@angular/core'; import { JsonEditorComponent, JsonEditorOptions } from 'ang-jsoneditor/jsoneditor/jsoneditor.component'; @Component({ selector: 'app-root', template: '<json-editor [options]="editorOptions" [data]="data"></json-editor>', styleUrls: ['./app.component.css'] }) export class AppComponent { public editorOptions: JsonEditorOptions; public data: any; @ViewChild(JsonEditorComponent) editor: JsonEditorComponent; constructor() { this.editorOptions = new JsonEditorOptions() this.editorOptions.modes = ['code', 'text', 'tree', 'view']; // set all allowed modes //this.options.mode = 'code'; //set only one mode this.data = {"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"}]}]}]} } }
Author Brunoalcau
GitHub
github.com › angular-tools › ng-jsoneditor
GitHub - angular-tools/ng-jsoneditor: Angular version of the insanely cool jsoneditor
Angular version of the insanely cool jsoneditor. Contribute to angular-tools/ng-jsoneditor development by creating an account on GitHub.
Starred by 83 users
Forked by 66 users
Languages JavaScript 100.0% | JavaScript 100.0%
Socket
socket.dev › npm › package › ang-jsoneditor
ang-jsoneditor - npm Package Security Analysis - Socket
[](https://travis-ci.org/mariohmol/ang-jsoneditor) 4.0.2 · latest · Source · npm · Copy purl · Version published · 3 months ago · Weekly downloads · 40K-3.98% Maintainers · 1 · Weekly downloads · Created · 7 years ago · README · Source · Angular Json Editor (wrapper for jsoneditor). View/Edit Json file with formatting. StackBlitz template · Working with latest Angular 18/19.
GitHub
github.com › thdang1009 › ang-jsoneditor
GitHub - thdang1009/ang-jsoneditor: Jsoneditor for Angular 14
Jsoneditor for Angular 14. Contribute to thdang1009/ang-jsoneditor development by creating an account on GitHub.
Author thdang1009
GitHub
github.com › MaaxGr › ang-jsoneditor
GitHub - MaaxGr/ang-jsoneditor: Jsoneditor for Angular 11, 12, 13 and 14
Jsoneditor for Angular 11, 12, 13 and 14. Contribute to MaaxGr/ang-jsoneditor development by creating an account on GitHub.
Starred by 13 users
Forked by 18 users
Languages TypeScript 83.6% | JavaScript 9.0% | HTML 7.0% | SCSS 0.4% | TypeScript 83.6% | JavaScript 9.0% | HTML 7.0% | SCSS 0.4%
GitHub
github.com › bastiendonjon › angular-jsoneditor
GitHub - bastiendonjon/angular-jsoneditor: Jsoneditor module for Angular
npm install jsoneditor · with bower: bower install angular-jsoneditor · Add ngJsonEditor to your app’s module dependencies. angular .module('yourApp', [ 'ngJsonEditor' ]); as element · <jsoneditor options="jsoneditorOptions" json="json"></jsoneditor> in controller ·
Starred by 6 users
Forked by 4 users
npm
npmjs.com › package › @opsystech › ang-jsoneditor
@opsystech/ang-jsoneditor - npm
import { Component, ViewChild } from '@angular/core'; import { JsonEditorComponent, JsonEditorOptions } from 'ang-jsoneditor'; @Component({ selector: 'app-root', template: '<json-editor [options]="editorOptions" [data]="data"></json-editor>', styleUrls: ['./app.component.css'] }) export class AppComponent { public editorOptions: JsonEditorOptions; public data: any; @ViewChild(JsonEditorComponent, { static: false }) editor: JsonEditorComponent; constructor() { this.editorOptions = new JsonEditorOptions() this.editorOptions.modes = ['code', 'text', 'tree', 'view']; // set all allowed modes //this.options.mode = 'code'; //set only one mode this.data = {"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"}]}]}]} } }
» npm install @opsystech/ang-jsoneditor
Published May 23, 2021
Version 1.10.5
Author Mario Mol
Repository https://github.com/mariohmol/ang-jsoneditor