Json View

Display data in JSON format.

{
 "key1": "value1",
 "key2": "value2"
}
  
vue
<template>
 <JsonView :data="json" />
</template>

<script setup lang="ts">
const json = {
 key1: 'value1',
 key2: 'value2',
};
</script>