Skip to content
New jsoneditor v10, themes & SSR support

The JSON editor
for Vue 3

View, edit, format and validate JSON in five modes. One component, v-model ready, themeable and SSR-safe.

npm i v3-jsoneditor

Features

Everything you need to edit JSON in Vue ​

A thin, well-typed wrapper around the battle-tested jsoneditor — with the Vue ergonomics you expect.

Quick start

Up and running in a minute ​

1. Install

bash
npm install v3-jsoneditor
bash
pnpm add v3-jsoneditor
bash
yarn add v3-jsoneditor
bash
bun add v3-jsoneditor

Then read the Getting Started guide or try every option in the Playground.

2. Use it

App.vue
vue
<script setup>
import { ref } from 'vue'
import Vue3Jsoneditor from 'v3-jsoneditor'

const json = ref({ hello: 'world' })
</script>

<template>
  <Vue3Jsoneditor v-model="json" height="400px" />
</template>

Released under the MIT License.