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
<div *ngFor="let prd of data.products" class="w-100-p p-24" > <json-editor [options]="makeOptions()" [data]="prd" (change)="showJson($event)"></json-editor> </div> makeOptions = () => { return new JsonEditorOptions(); } Demo component files are included in Git Project.
» npm install ang-jsoneditor
Published Apr 09, 2025
Version 4.0.2
Author Mario Mol
Repository https://github.com/mariohmol/ang-jsoneditor
Rodikh
rodikh.github.io › angular-json-editor
Angular-json-editor
JSON Editor takes a JSON Schema and uses it to generate an HTML form.
Best Angular JSON editor?
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 More on reddit.com
Json schema form UI builder library
I think you're looking for formly: https://formly.dev/ More on reddit.com
Babel edit
You can use the i18nSelectPipe or https://github.com/ngx-translate/core More on reddit.com
Ace Editor
Ace Editor is an amazing piece of work, but takes a bit of getting used to. I'm using ng2-ace-editor in my project and loading languages and themes using brace. I don't have anything fancy like autocomplete (I'm planning to include it in the future though). If you want to use the search function you'll need to import it. Here's what I'm doing: Component Imports: import { AceEditorComponent } from 'ng2-ace-editor'; import 'brace'; import '../../model/brace-language'; import '../../model/brace-config'; import 'brace/ext/searchbox'; brace-language is my customer 'mode' (how Ace handles the code being entered, e.g. JS, Java). I'm using a custom language my company's developed, so the file's not much use to you. The brace-config is the style for the editor I've customised. You can use any of the themes or language files in brace by importing them instead. Writing your own language mode is a bit tricky but styling the editor is easy enough. Here's a summary of my implementation Using @ViewChild (as u/kuroiryu recommended) @ViewChild('editField') editField: AceEditorComponent; Defining the Ace Editor options: public options = { animatedScroll: true, enableBasicAutocompletion: true, showPrintMargin: false, tabSize: 2, useSoftTabs: true }; In the template: Note that the reference to mode is whatever is made available by your language import (where I imported brace-language). In the language mode file I've got a reference like this, that gives me myCustomMode: ace.define('ace/mode/myCustomMode'); More on reddit.com
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 › src › app › demo › demo.component.ts
ang-jsoneditor/src/app/demo/demo.component.ts at master · mariohmol/ang-jsoneditor
import { JsonEditorComponent, ... UntypedFormBuilder } from '@angular/forms'; ... const aceEditor = (<any>window).ace.edit(document.querySelector('#a' + this.editor.id + '>div'));...
Author mariohmol
GitHub
github.com › mariohmol › ang-jsoneditor
GitHub - mariohmol/ang-jsoneditor: Angular Jsoneditor that works with angular 4 to angular 15
<div *ngFor="let prd of data.products" class="w-100-p p-24" > <json-editor [options]="makeOptions()" [data]="prd" (change)="showJson($event)"></json-editor> </div> makeOptions = () => { return new JsonEditorOptions(); } Demo component files are included in Git Project.
Starred by 162 users
Forked by 101 users
Languages TypeScript 91.3% | HTML 8.1% | TypeScript 91.3% | HTML 8.1%
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 › 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%
npm
npmjs.com › package › @maaxgr › ang-jsoneditor
@maaxgr/ang-jsoneditor - npm
<div *ngFor="let prd of data.products" class="w-100-p p-24" > <json-editor [options]="makeOptions()" [data]="prd" (change)="showJson($event)"></json-editor> </div> makeOptions = () => { return new JsonEditorOptions(); } Demo component files are included in Git Project under projects/demo. An explanation how to start the demo is in the Local Development-Guide · See Local Development · MIT · angular ·
» 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 › 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
UNPKG
unpkg.com › browse › ang-jsoneditor@1.5.6 › README.md
ang-jsoneditor
Demo Project: [https://github.com/mariohmol/ang-jsoneditor/tree/master/src/app/demo)
npm
npmjs.com › package › angular-jsoneditor
angular-jsoneditor - npm
<angular-jsoneditor ng-model="data" options="options" style="width: 100%; height: 400px;"></angular-jsoneditor> Check the html file in the demo folder or try this fiddle
» npm install angular-jsoneditor
Published Mar 24, 2017
Version 0.0.2
Author Paul Biester
Repository https://github.com/isonet/angular-jsoneditor
GitHub
github.com › manishit56 › Angular4-JsonEditor
GitHub - manishit56/Angular4-JsonEditor: Wrapper for jsonedior in angular 4+ application
Starred by 39 users
Forked by 17 users
Languages TypeScript 83.6% | JavaScript 10.4% | HTML 5.5% | CSS 0.5% | TypeScript 83.6% | JavaScript 10.4% | HTML 5.5% | CSS 0.5%
npm
npmjs.com › package › ng2-json-editor
ng2-json-editor - npm
September 19, 2023 - Angular2 component for editing large json documents. Here is a live example of ng2-json-editor: https://inveniosoftware-contrib.github.io/ng2-json-editor
» npm install ng2-json-editor
Published Sep 19, 2023
Version 0.25.52
Author Harun Urhan
GitHub
github.com › thdang1009 › ang-jsoneditor
GitHub - thdang1009/ang-jsoneditor: Jsoneditor for Angular 14
<div *ngFor="let prd of data.products" ... makeOptions = () => { return new JsonEditorOptions(); } Demo component files are included in Git Project under projects/demo....
Author thdang1009
GitHub
github.com › carlos-morcillo › ngx-json-builder
GitHub - carlos-morcillo/ngx-json-builder: Jsoneditor for Angular 11, 12, 13, 14 and 16
<div *ngFor="let prd of data.products" ... makeOptions = () => { return new JsonEditorOptions(); } Demo component files are included in Git Project under projects/demo....
Author carlos-morcillo