JsonNode.AsObject Method

Definition

Casts to the derived JsonObject type.

public:
 System::Text::Json::Nodes::JsonObject ^ AsObject();
public System.Text.Json.Nodes.JsonObject AsObject ();
member this.AsObject : unit -> System.Text.Json.Nodes.JsonObject
Public Function AsObject () As JsonObject

Returns

A JsonObject.

Exceptions

Applies to