{ "key1": "value1", "key2": "value2" }
vue
<template>
<JsonView :data="json" />
</template>
<script setup lang="ts">
const json = {
key1: 'value1',
key2: 'value2',
};
</script>
Display data in JSON format.
{ "key1": "value1", "key2": "value2" }
<template>
<JsonView :data="json" />
</template>
<script setup lang="ts">
const json = {
key1: 'value1',
key2: 'value2',
};
</script>