From bdbfe5dc38eb7bf243166e716eff6bb39e653eec Mon Sep 17 00:00:00 2001 From: Rakuyo Date: Thu, 7 Apr 2022 11:08:23 +0800 Subject: [PATCH] update readme update Format Check-Rendering, Add a description of scientific notation --- README.md | 1 + README_CN.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index ff41033..957e65d 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/README_CN.md b/README_CN.md index cd7be59..e27a391 100644 --- a/README_CN.md +++ b/README_CN.md @@ -130,6 +130,7 @@ previewView.preview(json, style: style) - `"` 必须成对出现。 - `"` 的上一个节点只能是 `{`、`[`、`,` 以及 `:` 中的一个。 - 针对 `null`、`true` 以及 `false` 的拼写检查。 +- 针对科学计数法,`{E/e}` 的下一个节点必须是 `+`、`-` 或数字。 除此之外的语法错误均不会触发渲染错误。