Skip to content

Commit 75c5bac

Browse files
committed
docs: add section—Differences between svelte-jsoneditor and json-editor-vue
1 parent 22547eb commit 75c5bac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ import JsonEditorVue from 'json-editor-vue'
562562

563563
| | `svelte-jsoneditor` | `json-editor-vue` |
564564
| ------------- | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------ |
565-
| Binding value | An object contains a stringified JSON or a parsed JSON, <br>will do `JSON.parse` when passing as a stringified JSON. | JSON itself. What users see is what users pass. |
565+
| Binding value | An object contains a stringified JSON or a parsed JSON, will do `JSON.parse` when passing as a stringified JSON. | JSON itself. What users see is what users pass. |
566566

567567
Check https://github.com/josdejong/svelte-jsoneditor/pull/166 for more details.
568568

docs/README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ import JsonEditorVue from 'json-editor-vue'
560560

561561
| | `svelte-jsoneditor` | `json-editor-vue` |
562562
| ------ | --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
563-
| 绑定值 | 一个包含「stringified JSON」或「parsed JSON」的对象,<br>当作为「stringified JSON」传入时,会经过 `JSON.parse` 解析。 | JSON 本身。用户传什么参数编辑器就展示什么数据。 |
563+
| 绑定值 | 一个包含「stringified JSON」或「parsed JSON」的对象,当作为「stringified JSON」传入时,会经过 `JSON.parse` 解析。 | JSON 本身。用户传什么参数编辑器就展示什么数据。 |
564564

565565
详情见 https://github.com/josdejong/svelte-jsoneditor/pull/166.
566566

0 commit comments

Comments
 (0)