JsonSerializer
class JsonSerializer
Module: System.Data.Json
Assembly: System.Data.dll
Source file: JsonSerializer.rvn
Inheritance: Object → JsonSerializer
Provisional DOM codec and bounded nested object mapper supporting strings and borrowed UTF-8 streams.
Remarks
DeserializeNode/SerializeNode operate on the DOM. Deserialize and Serialize Object overloads map public String, Int32 and Boolean properties through checked runtime reflection. Development after Preview 10 also maps nested nongeneric reference objects, typed arrays (including jagged arrays) and root String/Int32/Boolean values. Objects and arrays share the four-container depth bound. Development explicit JsonValue and concrete JSON node declarations are supported at roots, properties and array elements; nodes retain JSON content, including explicit JsonNull. Concrete node kinds must match. Development supports Sequence/List/ArrayList and string-keyed Map/MutableMap/HashMap with recursively supported elements, constructing ArrayList or ordinal HashMap. CLR null, other collection families, non-string map keys and other polymorphic property/element values are unsupported; shared references become independent JSON subtrees. Containers are limited to 31 entries; complete parsing/writing is limited to 1024 UTF-8 bytes, four nested containers and 32 value occurrences. APIs are provisional.