Json
Struct · namespace System · Since 0.21
struct JsonReading JSON text: see Json.Parse and JsonValue.
Static methods
Section titled “Static methods”| Name | Description |
|---|---|
Parse |
Reads JSON text (RFC 8259): objects, arrays, strings (with \u escapes), numbers, true, false and null. |
static JsonError<JsonValue> Parse(StringSlice text)Reads JSON text (RFC 8259): objects, arrays, strings (with \u escapes), numbers, true, false and null.
Errors
JsonError.InvalidSyntax: the text is not valid JSON; the message says where (line and column).JsonError.TooDeep: more than 512 nested arrays and objects.