import{JSONEditor}from'svelte-jsoneditor'letcontent={text:undefined,// can be used to pass a stringified JSON document insteadjson:{array:[1,2,3],boolean:true,color:'#82b92c',null:null,number:123,object:{a:'b',c:'d'},string:'Hello World'}}<JSONEditorbind:content/> Or one-way bi...
Create a JSONEditor with two-way binding bind:json: import { JSONEditor } from 'svelte-jsoneditor' let content = { text: undefined, // can be used to pass a stringified JSON document instead json: { array: [1, 2, 3], boolean: true, color: '#82b92c', null: null, number: ...
Hello, I am upgrading the dependencies from my Angular project, and when I set vanilla-jsoneditor from v1.0.0 and beyong, I am getting an error. Downgrading to previous version (0.23.7) does not throw any error. Many thanks for your work!
import{JSONEditor}from'svelte-jsoneditor'letcontent={text:undefined,// can be used to pass a stringified JSON document insteadjson:{array:[1,2,3],boolean:true,color:'#82b92c',null:null,number:123,object:{a:'b',c:'d'},string:'Hello World'}}<JSONEditorbind:content/> Or one-way bi...
Hello jos, I think the commit 56e18ee caused this issue: cloydlau/json-editor-vue#95 Reproduction: import { JSONEditor } from '../../../lib/index.ts' let show = true
npm install ng-svelte-jsoneditor Usage @NgModule({declarations:[AppComponent],imports:[...NgSvelteJsonEditorModule],providers:[],bootstrap:[AppComponent]}) <ng-svelte-jsoneditor[formControl]="editor"></ng-svelte-jsoneditor> Methods <ng-...
A web-based tool to view, edit, format, repair, query, transform, and validate JSON - Release v0.18.13 · josdejong/svelte-jsoneditor
Vue example:https://codesandbox.io/s/svelte-jsoneditor-vue-toln3w Svelte usage Create a JSONEditor with two-way bindingbind:json: import{JSONEditor}from'svelte-jsoneditor'letcontent={text:undefined,// can be used to pass a stringified JSON document insteadjson:{array:[1,2,3],boolean:true...
A web-based tool to view, edit, format, repair, query, transform, and validate JSON - Release v0.18.5 · josdejong/svelte-jsoneditor
Thanks Matteo! Though this security issue isn't a big deal becausesvelte-jsoneditoris just used client side, it's good to update the library. I think this issue is also the case injsonpath-plus@9.x, so I think we should drop the^9.0.0from package.json too, right?