JsonValue Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a mutable JSON value.
public ref class JsonValue abstract : System::Text::Json::Nodes::JsonNode
public abstract class JsonValue : System.Text.Json.Nodes.JsonNode
type JsonValue = class
inherit JsonNode
Public MustInherit Class JsonValue
Inherits JsonNode
- Inheritance
Item[Int32] |
Gets or sets the element at the specified index. (Inherited from JsonNode) |
Item[String] |
Gets or sets the element with the specified property name.
If the property is not found, |
Options |
Gets the options to control the behavior. (Inherited from JsonNode) |
Parent |
Gets the parent JsonNode.
If there is no parent, |
Root |
Gets the root JsonNode. (Inherited from JsonNode) |
As |
Casts to the derived JsonArray type. (Inherited from JsonNode) |
As |
Casts to the derived JsonObject type. (Inherited from JsonNode) |
As |
Casts to the derived JsonValue type. (Inherited from JsonNode) |
Create(Boolean, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Byte, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Char, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Date |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Date |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Decimal, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Double, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Guid, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Int16, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Int32, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Int64, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Nullable<Boolean>, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Nullable<Byte>, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Nullable<Char>, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Nullable<Date |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Nullable<Date |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Nullable<Decimal>, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Nullable<Double>, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Nullable<Guid>, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Nullable<Int16>, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Nullable<Int32>, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Nullable<Int64>, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Nullable<SByte>, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Nullable<Single>, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Nullable<UInt16>, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Nullable<UInt32>, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Nullable<UInt64>, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(SByte, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(Single, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(String, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(UInt16, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(UInt32, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create(UInt64, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create<T>(T, Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Create<T>(T, Nullable<Json |
Initializes a new instance of the JsonValue class that contains the specified value. |
Deep |
Creates a new instance of the JsonNode class. All child nodes are recursively cloned. (Inherited from JsonNode) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Returns the index of the current node from the parent JsonArray. (Inherited from JsonNode) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the JSON path. (Inherited from JsonNode) |
Get |
Returns the property name of the current node from the parent object. (Inherited from JsonNode) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Get |
Gets the value for the current JsonValue. (Inherited from JsonNode) |
Get |
Returns the JsonValueKind of the current instance. (Inherited from JsonNode) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Replace |
Replaces this node with a new value. (Inherited from JsonNode) |
To |
Converts the current instance to a string in JSON format. (Inherited from JsonNode) |
To |
Gets a string representation for the current value appropriate to the node type. (Inherited from JsonNode) |
Try |
Tries to obtain the current JSON value and returns a value that indicates whether the operation succeeded. |
Write |
Writes the JsonNode into the provided Utf8JsonWriter as JSON. (Inherited from JsonNode) |
Deserialize(Json |
Converts the JsonNode representing a single JSON value into an instance specified by the |
Deserialize(Json |
Converts the JsonNode representing a single JSON value into a |
Deserialize(Json |
Converts the JsonNode representing a single JSON value into a |
Deserialize<TValue>(Json |
Converts the JsonNode representing a single JSON value into a |
Deserialize<TValue>(Json |
Converts the JsonNode representing a single JSON value into a |
Product | Versies |
---|---|
.NET | 6, 7, 8 (package-provided), 8, 9 (package-provided), 9 |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |
.NET-feedback
.NET is een open source project. Selecteer een koppeling om feedback te geven: