From 16a3899a9e02222a9b06d9c9e12b36ede47f5260 Mon Sep 17 00:00:00 2001 From: Maxim Zhukov Date: Thu, 6 Aug 2020 18:02:57 +0300 Subject: [PATCH] conformance: remove U+0000 restriction for object keys Signed-off-by: Maxim Zhukov --- doc/conformance.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/conformance.rst b/doc/conformance.rst index c1766bc..5556a6b 100644 --- a/doc/conformance.rst +++ b/doc/conformance.rst @@ -22,8 +22,7 @@ JSON strings are mapped to C-style null-terminated character arrays, and UTF-8 encoding is used internally. All Unicode codepoints U+0000 through U+10FFFF are allowed in string -values. However, U+0000 is not allowed in object keys because of API -restrictions. +values. However, U+0000 is allowed in object keys only for length-aware functions. Unicode normalization or any other transformation is never performed on any strings (string values or object keys). When checking for