Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/features.zh-cn.md')
-rw-r--r--doc/features.zh-cn.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/features.zh-cn.md b/doc/features.zh-cn.md
index 623cf620..fd3fd4d6 100644
--- a/doc/features.zh-cn.md
+++ b/doc/features.zh-cn.md
@@ -20,12 +20,16 @@
## 符合标准
* RapidJSON 应完全符合 RFC4627/ECMA-404 标准。
+* 支持 JSON Pointer (RFC6901).
+* 支持 JSON Schema Draft v4.
* 支持 Unicod 代理对(surrogate pair)。
* 支持空字符(`"\u0000"`)。
* 例如,可以优雅地解析及处理 `["Hello\u0000World"]`。含读写字符串长度的 API。
-* 支持放宽的可选语法
+* 支持可选的放宽语法
* 单行(`// ...`)及多行(`/* ... */`) 注释 (`kParseCommentsFlag`)。
* 在对象和数组结束前含逗号 (`kParseTrailingCommasFlag`)。
+ * `NaN`、`Inf`、`Infinity`、`-Inf` 及 `-Infinity` 作为 `double` 值 (`kParseNanAndInfFlag`)
+* [NPM 兼容](https://github.com/miloyip/rapidjson/blob/master/doc/npm.md).
## Unicode
@@ -68,7 +72,7 @@
* 只储存指针,不作复制
* 优化“短”字符串
* 在 `Value` 内储存短字符串,无需额外分配。
- * 对 UTF-8 字符串来说,32 位架构下可存储最多 11 字符,64 位下 15 字符。
+ * 对 UTF-8 字符串来说,32 位架构下可存储最多 11 字符,64 位下 21 字符(x86-64 下 13 字符)。
* 可选地支持 `std::string`(定义 `RAPIDJSON_HAS_STDSTRING=1`)
## 生成
@@ -96,3 +100,4 @@
* 一些 C++11 的支持(可选)
* 右值引用(rvalue reference)
* `noexcept` 修饰符
+ * 范围 for 循环