🌐
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
🌐
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%
🌐
StackBlitz
stackblitz.com › edit › angular-json-editor
Angular Json Editor - StackBlitz
Starter project for Angular apps that exports to the Angular CLI
🌐
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 · &copy 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%
Find elsewhere
🌐
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
🌐
StackBlitz
stackblitz.com › edit › ang-jsoneditor
Ang Jsoneditor - StackBlitz
Starter project for Angular apps that exports to the Angular CLI
🌐
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
🌐
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
🌐
CodePen
codepen.io › Gary-zheng › pen › oLpwYG
Angular -JsonEditor-Demo
Minimize JavaScript Editor · Fold All · Unfold All · var json = {"Array": [1, 2, 3], "Boolean": true, "Null": null, "Number": 123, "Object": {"a": "b", "c": "d"}, "String": "Hello World"}; angular.module('ngApp', ['ng.jsoneditor']).contr...
🌐
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