9. Parsers (解析器)
A JSON parser transforms a JSON text into another representation. A JSON parser MUST accept all texts that conform to the JSON grammar. A JSON parser MAY accept non-JSON forms or extensions.
JSON解析器将JSON文本转换为另一种表示。JSON解析器必须(MUST)接受所有符合JSON语法的文本。JSON解析器可以(MAY)接受非JSON形式或扩展。
An implementation may set limits on the size of texts that it accepts. An implementation may set limits on the maximum depth of nesting. An implementation may set limits on the range and precision of numbers. An implementation may set limits on the length and character contents of strings.
实现可以对其接受的文本大小设置限制。实现可以对最大嵌套深度设置限制。实现可以对数字的范围和精度设置限制。实现可以对字符串的长度和字符内容设置限制。