[{"data":1,"prerenderedAt":257},["ShallowReactive",2],{"general-page-en-developers":3},{"id":4,"title":5,"body":6,"description":248,"extension":249,"meta":250,"navigation":251,"path":252,"seo":253,"stem":254,"updatedAt":255,"__hash__":256},"general\u002Fen\u002Fdevelopers.md","Developers & Embed",{"type":7,"value":8,"toc":238},"minimark",[9,14,25,29,35,39,47,51,59,67,71,77,88,92,118,122,125,212,216],[10,11,13],"h2",{"id":12},"get-the-package","Get the package",[15,16,22],"pre",{"className":17,"code":19,"language":20,"meta":21},[18],"language-bash","npm install @kbmjj123\u002Fjson-editor\n# or\npnpm add @kbmjj123\u002Fjson-editor\n","bash","",[23,24,19],"code",{"__ignoreMap":21},[26,27,28],"p",{},"Peer dependencies (Vue 3 + CodeMirror 6) must be installed by the host:",[15,30,33],{"className":31,"code":32,"language":20,"meta":21},[18],"npm install vue @codemirror\u002Fcommands @codemirror\u002Flang-json @codemirror\u002Flanguage @codemirror\u002Fstate @codemirror\u002Fview @lezer\u002Fhighlight\n",[23,34,32],{"__ignoreMap":21},[10,36,38],{"id":37},"vue-3","Vue 3",[15,40,45],{"className":41,"code":43,"language":44,"meta":21},[42],"language-vue","\u003Cscript setup lang=\"ts\">\nimport { ref } from 'vue'\nimport { JsonEditor } from '@kbmjj123\u002Fjson-editor'\nimport '@kbmjj123\u002Fjson-editor\u002Fstyle.css'\n\nconst value = ref('{\"hello\": \"world\"}')\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CJsonEditor v-model=\"value\" view=\"both\" theme=\"auto\" locale=\"en\" \u002F>\n\u003C\u002Ftemplate>\n","vue",[23,46,43],{"__ignoreMap":21},[10,48,50],{"id":49},"web-component","Web Component",[15,52,57],{"className":53,"code":55,"language":56,"meta":21},[54],"language-ts","import { registerJsonEditor } from '@kbmjj123\u002Fjson-editor\u002Fwc'\nimport '@kbmjj123\u002Fjson-editor\u002Fstyle.css'\n\nregisterJsonEditor()\n","ts",[23,58,55],{"__ignoreMap":21},[15,60,65],{"className":61,"code":63,"language":64,"meta":21},[62],"language-html","\u003Cjson-editor\n  value='{\"hello\": \"world\"}'\n  view=\"both\"\n  theme=\"light\"\n  height=\"320px\"\n>\u003C\u002Fjson-editor>\n","html",[23,66,63],{"__ignoreMap":21},[10,68,70],{"id":69},"cdn-script-tag","CDN \u002F script tag",[15,72,75],{"className":73,"code":74,"language":64,"meta":21},[62],"\u003Clink rel=\"stylesheet\" href=\"https:\u002F\u002Fcdn.jsdelivr.net\u002Fnpm\u002F@kbmjj123\u002Fjson-editor@latest\u002Fdist\u002Fjson-editor.iife.css\">\n\u003Cscript src=\"https:\u002F\u002Fcdn.jsdelivr.net\u002Fnpm\u002F@kbmjj123\u002Fjson-editor@latest\u002Fdist\u002Fjson-editor.iife.js\">\u003C\u002Fscript>\n\n\u003Cjson-editor value='{\"hello\": \"world\"}' theme=\"dark\">\u003C\u002Fjson-editor>\n",[23,76,74],{"__ignoreMap":21},[26,78,79,80,87],{},"The CDN bundle is also available on ",[81,82,86],"a",{"href":83,"rel":84},"https:\u002F\u002Funpkg.com\u002F@kbmjj123\u002Fjson-editor",[85],"nofollow","unpkg",".",[10,89,91],{"id":90},"features","Features",[93,94,95,99,102,105,108,111],"ul",{},[96,97,98],"li",{},"CodeMirror 6 editor with JSON syntax highlighting and line numbers",[96,100,101],{},"Live validation with error line location and one-click jump",[96,103,104],{},"Format \u002F minify toolbar actions",[96,106,107],{},"Read-only tree view with collapse\u002Fexpand, search, copy path\u002Fvalue",[96,109,110],{},"Light \u002F dark \u002F auto theming",[96,112,113,114,117],{},"Optional ",[23,115,116],{},"attribution"," badge for a natural backlink",[10,119,121],{"id":120},"open-source-projects","Open-source projects",[26,123,124],{},"JSON Toolbox is maintained as four separate repositories. Each project is\nself-contained and links back to this site.",[126,127,128,144],"table",{},[129,130,131],"thead",{},[132,133,134,138,141],"tr",{},[135,136,137],"th",{},"Repository",[135,139,140],{},"What it is",[135,142,143],{},"Source",[145,146,147,163,179,198],"tbody",{},[132,148,149,153,156],{},[150,151,152],"td",{},"Site",[150,154,155],{},"This Nuxt 4 site: client-side tools to format, validate, convert and view JSON",[150,157,158],{},[81,159,162],{"href":160,"rel":161},"https:\u002F\u002Fgithub.com\u002Fkbmjj123\u002Fjsontoolbox.cc",[85],"GitHub",[132,164,165,170,173],{},[150,166,167],{},[23,168,169],{},"@kbmjj123\u002Fjson-editor",[150,171,172],{},"The editor library published on npm — Vue 3 component, Web Component or CDN script",[150,174,175],{},[81,176,162],{"href":177,"rel":178},"https:\u002F\u002Fgithub.com\u002Fkbmjj123\u002Fjson-editor",[85],[132,180,181,184,187],{},[150,182,183],{},"Browser extension",[150,185,186],{},"Chrome\u002FEdge\u002FFirefox extension that turns raw JSON pages into an editable viewer with search, table view and CSV export",[150,188,189,193,194],{},[81,190,192],{"href":191},"\u002Fextension","Details & downloads"," · ",[81,195,162],{"href":196,"rel":197},"https:\u002F\u002Fgithub.com\u002Fkbmjj123\u002Fjson-browser-plugins",[85],[132,199,200,203,206],{},[150,201,202],{},"Obsidian plugin",[150,204,205],{},"Rich JSON\u002FYAML viewer for Obsidian with 14 kinds of inline previews",[150,207,208],{},[81,209,162],{"href":210,"rel":211},"https:\u002F\u002Fgithub.com\u002Fkbmjj123\u002Fjson-toolbox",[85],[10,213,215],{"id":214},"source-license","Source & license",[93,217,218,224,231],{},[96,219,220],{},[81,221,223],{"href":177,"rel":222},[85],"GitHub repository",[96,225,226],{},[81,227,230],{"href":228,"rel":229},"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@kbmjj123\u002Fjson-editor",[85],"npm package",[96,232,233],{},[81,234,237],{"href":235,"rel":236},"https:\u002F\u002Fgithub.com\u002Fkbmjj123\u002Fjson-editor\u002Fblob\u002Fmain\u002FLICENSE",[85],"MIT license",{"title":21,"searchDepth":239,"depth":239,"links":240},2,[241,242,243,244,245,246,247],{"id":12,"depth":239,"text":13},{"id":37,"depth":239,"text":38},{"id":49,"depth":239,"text":50},{"id":69,"depth":239,"text":70},{"id":90,"depth":239,"text":91},{"id":120,"depth":239,"text":121},{"id":214,"depth":239,"text":215},"Use the JSON Toolbox editor in your own project — Vue 3 component, Web Component, or plain script tag. Free, open source, and 100% client-side.","md",{},true,"\u002Fen\u002Fdevelopers",{"title":5,"description":248},"en\u002Fdevelopers","2026-11-18T00:00:00.000Z","cPZji4gnJSmqTe-rBClgmDL1ba1cNtaZLQ15htfR6tE",1796356311507]