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
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() { this.editorOptions = new JsonEditorOptions() this.editorOptions.modes = ['code', 'text', 'tr
» 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
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() { this.editorOptions = new JsonEditorOptions() this.editorOptions.modes = ['code', 'text', 'tr
Starred by 162 users
Forked by 101 users
Languages TypeScript 91.3% | HTML 8.1% | TypeScript 91.3% | HTML 8.1%
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 › 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 › 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%
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
GitHub
github.com › inveniosoftware-contrib › ng2-json-editor
GitHub - inveniosoftware-contrib/ng2-json-editor: Angular 2 component for JSON editing · GitHub
Angular2 component for editing large json documents. Here is a live example of ng2-json-editor: https://inveniosoftware-contrib.github.io/ng2-json-editor
Starred by 26 users
Forked by 27 users
Languages TypeScript 86.3% | HTML 7.7% | SCSS 3.8% | JavaScript 1.2%
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-jsoneditor ng-model="data" options="options" style="width: 100%; height: 400px;"></angular-jsoneditor>
» 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 › mb21 › JSONedit
GitHub - mb21/JSONedit: User friendly, visual JSON editor built as an Angular 1 directive.
November 2, 2020 - <!-- use somewhere in your template --> <div class="jsonView"> <json child="myJson" default-collapsed="false" type="object"></json> </div> <!-- include JSONedit files --> <script src="bower_components/json-edit/js/directives.js"></script> <link href="bower_components/json-edit/css/styles.css" rel="stylesheet" type="text/css" /> <!-- include the dependencies in this order (if you don't already have them) --> <script src="bower_components/json-edit/bower_components/jquery/dist/jquery.min.js"></script> <script src="bower_components/json-edit/bower_components/jquery-ui/jquery-ui.min.js"></script>
Starred by 566 users
Forked by 157 users
Languages JavaScript 72.8% | CSS 20.1% | HTML 7.1% | JavaScript 72.8% | CSS 20.1% | HTML 7.1%
UNPKG
unpkg.com › browse › ang-jsoneditor@1.5.6 › README.md
ang-jsoneditor
## 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
Top answer 1 of 3
5
I'm the author of https://github.com/rodikh/angular-json-editor.
It's basically a directive wrapper for jdorn's json-editor. His project is very popular and in active development. Both it, and my wrapper are safe to use.
If you have any feature requests or issues with my wrapper, feel free to submit an issue on github and I'll try my best to resolve them.
2 of 3
3
The best one (to my mind, but anyone is free to disagree my opinion) is formly
- formly site
- formly github
- formly documentation
PROS :
- complete (you can make beautiful and unique forms : templates are some kind like unlimited)
- well documented
- easy to implement
CONS :
- you have to design your own builder (it is not a problem to my mind)
GitHub
github.com › manishit56 › Angular4-JsonEditor
GitHub - manishit56/Angular4-JsonEditor: Wrapper for jsonedior in angular 4+ application
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"}]}]}]} } }
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%
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