{"repo":"josdejong/svelte-jsoneditor","free":true,"listed":false,"github":"https://github.com/josdejong/svelte-jsoneditor","clone":"git clone https://github.com/josdejong/svelte-jsoneditor.git","description":"A web-based tool to view, edit, format, repair, query, transform, and validate JSON","language":"TypeScript","stars":1262,"topics":["json","editor","svelte"],"license":null,"category":"ui-components","readme_excerpt":"svelte-jsoneditor A web-based tool to view, edit, format, transform, and validate JSON. Try it out: The library is written with Svelte, but can be used in plain JavaScript too and in any framework (SolidJS, React, Vue, Angular, etc.). It requires a browser from March 2022 or newer. Features - View and edit JSON - Has a low level text editor and high level tree view and table view - Format (beautify) and compact JSON - Sort, query, filter, and transform JSON - Repair JSON - JSON schema validation and pluggable custom validation - Color highlighting, undo/redo, search and replace - Utilities like a color picker and timestamp tag - Handles large JSON documents up to 512 MB Install For usage in a Svelte project: Note that svelte-jsoneditor@3.x requires Svelte 5. If you use Svelte 3 or 4, install svelte-jsoneditor@2.x . For usage in vanilla JavaScript or frameworks like SolidJS, React, Vue, Angular, etc: For details on individual releases, see the changelog at https://github.com/josdejong/svelte-jsoneditor/releases. Use Examples - Svelte: - Playground: https://stackblitz.com/edit/svelte-jsoneditor-basic-usage - Examples: /src/routes/examples - Plain JavaScript examples: - Try it out: https://stackblitz.com/edit/svelte-jsoneditor-plain-javascript - Examples: /examples/browser - React example: https://stackblitz.com/edit/svelte-jsoneditor-in-react - Vue example: https://stackblitz.com/edit/svelte-jsoneditor-in-vue Svelte usage Create a JSONEditor with two-way binding bind:json : Or ","default_branch":null,"files":null,"tree":[],"storefront":"/r/josdejong","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/josdejong/svelte-jsoneditor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}