Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
update Format Check-Rendering, Add a description of scientific notation
  • Loading branch information
rakuyoMo committed Apr 7, 2022
1 parent 83d2310 commit bdbfe5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ For rendering, `JSONPreview` performs only **limited** formatting checks, includ
- `"` must occur in pairs.
- The previous node of `"` can only be one of `{`, `[`, `,` and `:`.
- Spell checking for `null`, `true`, and `false`.
- For scientific notation, the next node of `{E/e}` must be `+`, `-` or a number.

Any other syntax errors will not trigger a rendering error.

Expand Down
1 change: 1 addition & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ previewView.preview(json, style: style)
- `"` 必须成对出现。
- `"` 的上一个节点只能是 `{``[``,` 以及 `:` 中的一个。
- 针对 `null``true` 以及 `false` 的拼写检查。
- 针对科学计数法,`{E/e}` 的下一个节点必须是 `+``-` 或数字。

除此之外的语法错误均不会触发渲染错误。

Expand Down

0 comments on commit bdbfe5d

Please sign in to comment.