JsonNode
The base class that represents a single node within a mutable JSON document.
Gets or sets the element at the specified index.
Gets or sets the element with the specified property name.
If the property is not found, null is returned.
Gets the options to control the behavior.
Gets the parent JsonNode.
If there is no parent, null is returned.
A parent can either be a JsonObject or a JsonArray.
Defines an explicit conversion of a given DateTimeOffset to a JsonNode.
Defines an explicit conversion of a given DateTimeOffset to a JsonNode.
Defines an implicit conversion of a given DateTimeOffset to a JsonNode.
Defines an implicit conversion of a given DateTimeOffset to a JsonNode.
Parses one JSON value (including objects or arrays) from the provided reader.
public static JsonNode Parse(string json, JsonNodeOptions? nodeOptions = default, JsonDocumentOptions documentOptions = default)
Parses text representing a single JSON value.
public static JsonNode Parse(ReadOnlySpan<byte> utf8Json, JsonNodeOptions? nodeOptions = default, JsonDocumentOptions documentOptions = default)
Parses text representing a single JSON value.
public static JsonNode Parse(Stream utf8Json, JsonNodeOptions? nodeOptions = default, JsonDocumentOptions documentOptions = default)
Parses a Stream as UTF-8-encoded data representing a single JSON value into a JsonNode. The Stream will be read to completion.
Casts to the derived JsonArray type.
Casts to the derived JsonObject type.
Casts to the derived JsonValue type.
Gets the JSON path.
Gets the value for the current JsonValue.
Converts the current instance to string in JSON format.
Writes the JsonNode into the provided Utf8JsonWriter as JSON.