diff --git a/README.md b/README.md index c04f838..2f7ce93 100644 --- a/README.md +++ b/README.md @@ -11,21 +11,22 @@

- playground -
npm version JSR Scope
+ playground + Ask DeepWiki + Start new PR in StackBlitz Codeflow +
created at build status - minzipped size + minzipped size
code style conventional commits semantic release attw - Start new PR in StackBlitz Codeflow

text mode table mode @@ -56,30 +57,56 @@ ## Cases - - - - - - - - + + + + + + + + + + + + + + + + + +
- - - - - - - - - - - - - - - -
+ + + + + + + + + + + +
+ + + + + + + + + + LangBot +
+ + Mealie + + + + +
+ +
> [!Important] @@ -966,13 +993,13 @@ With Scope: ## Props -| Name | Description | Type | Default | -| ------------------------------------------------------ | --------------------------------------------------------------------------------------------- | ------- | ----------- | -| v-model /
modelValue (Vue 3) /
value (Vue 2) | binding value | any | | -| mode /
v-model:mode (Vue 3) /
:mode.sync (Vue 2) | edit mode | `Mode` | `Mode.tree` | -| debounce | debounce delay to update the binding value when typing in text mode, in milliseconds | number | `300` | -| stringified | whether to keep the binding value as stringified JSON in text mode | boolean | `true` | -| ... | properties of [svelte-jsoneditor](https://github.com/josdejong/svelte-jsoneditor/#properties) | | | +| Name | Description | Type | Default | +| ------------------------------------------------------ | --------------------------------------------------------------------------------------------- | ------------------------------------ | ----------- | +| v-model /
modelValue (Vue 3) /
value (Vue 2) | binding value | any | | +| mode /
v-model:mode (Vue 3) /
:mode.sync (Vue 2) | edit mode | `Mode` /
you can use string in JS | `Mode.tree` | +| debounce | debounce delay to update the binding value when typing in text mode, in milliseconds | number | `300` | +| stringified | whether to keep the binding value as stringified JSON in text mode | boolean | `true` | +| ... | properties of [svelte-jsoneditor](https://github.com/josdejong/svelte-jsoneditor/#properties) | | | ### parsed JSON vs. stringified JSON @@ -1015,7 +1042,7 @@ FAQ: How to keep the value as parsed JSON in text mode? > > - Not performant for large JSON documents. > - Adjust the `debounce` value based on the size of your JSON. -> - Will output empty value when the input value is invalid. +> - Will output `undefined` when the input value is invalid. ```vue