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
🌐
StackBlitz
stackblitz.com › edit › ang-jsoneditor
Ang Jsoneditor - StackBlitz
Starter project for Angular apps that exports to the Angular CLI
🌐
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%
🌐
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
🌐
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
Find elsewhere
🌐
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
[![Build Status](https://travis-ci.org/mariohmol/ang-jsoneditor.svg?branch=master)](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%
🌐
npm Trends
npmtrends.com › ang-jsoneditor-vs-angular-jsoneditor-vs-json-editor-vs-jsoneditor
ang-jsoneditor vs angular-jsoneditor vs json-editor vs jsoneditor | npm trends
Comparing trends for ang-jsoneditor 4.0.2 which has 32,966 weekly downloads and 160 GitHub stars vs. angular-jsoneditor 0.0.2 which has 853 weekly downloads and unknown number of GitHub stars vs. json-editor 0.7.28 which has 2,666 weekly downloads and 5,818 GitHub stars vs. jsoneditor 10.4.1 ...
🌐
StackBlitz
stackblitz.com › edit › angular-txwrtv
JSON Viewer and Editor - StackBlitz
A angular-cli project based on rxjs, tslib, core-js, zone.js, @angular/core, @angular/forms, @angular/common, @angular/router, @angular/compiler, @angular/animations, @angular/platform-browser and @angular/platform-browser-dynamic.
🌐
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