class · System.Text
JsonReader
public class System.Text.JsonReader : System.Any
Reads a value from UTF-8 units. Arrays and objects nest at most MaxDepth deep (a FormatError beyond).
- Tipo
- class
- Espacio de nombres
- System.Text
- Ensamblado
- System.Core
- Acceso
- public, final
- Archivo fuente
Json.ant
Herencia
- Clases base
-
AnyJsonReader
Constructores
Propiedades
Métodos
method Fail(what: System.String<u8>) -> void
#
method SkipSpace() -> void
#
method ReadValue() -> System.Text.JsonValue
#
method ExpectWord(word: System.String<u8>) -> void
#
method ReadNumber() -> System.Text.JsonValue
#
A number by the JSON grammar: -?, 0 or digits not starting with one, a fraction . digits, an
exponent e/E, a sign, digits (no leading zeros, no 1., no .5).
Past the digits here; how many there were.
method ReadText() -> System.String<u8>
#
method ReadKey() -> System.String<u8>
#
An object's key: the string of an earlier key with the same units when there is one.
method ReadArray() -> System.Text.JsonValue
#
method ReadObject() -> System.Text.JsonValue
#
Constantes
Miembros privados e internos (8)
Miembros heredados (5)
GetTypemétodo de AnyUndescribedmétodo de AnyToStringmétodo de AnyHashmétodo de Anydestroymétodo de Any
Código fuente
JsonReader en Larva HIR, descompilado a partir de su Larva HIR.
// Reads a value from UTF-8 units. Arrays and objects nest at most MaxDepth deep (a FormatError beyond).
public class System.Text.JsonReader : System.Any
{
static constant MaxDepth: i32
field p: u8[]
field at: i32
field depth: i32
field scratch: u8[]
field used: i32
field keys: System.String<u8>?[]
method Enter() -> void
method Put(unit: u32) -> void
constructor JsonReader(units: u8[])
method Fail(what: System.String<u8>) -> void
method SkipSpace() -> void
method ReadValue() -> System.Text.JsonValue
method ExpectWord(word: System.String<u8>) -> void
// A number by the JSON grammar: `-`?, `0` or digits not starting with one, a fraction `.` digits, an
// exponent `e`/`E`, a sign, digits (no leading zeros, no `1.`, no `.5`).
method ReadNumber() -> System.Text.JsonValue
// Past the digits here; how many there were.
method Digits() -> i32
method ReadText() -> System.String<u8>
// An object's key: the string of an earlier key with the same units when there is one.
method ReadKey() -> System.String<u8>
method ReadHex4() -> u32
method ReadArray() -> System.Text.JsonValue
method ReadObject() -> System.Text.JsonValue
property AtEnd: bool
}