JsonDocument.RootElement Property

Definition

Gets the root element of this JSON document.

public:
 property System::Text::Json::JsonElement RootElement { System::Text::Json::JsonElement get(); };
public System.Text.Json.JsonElement RootElement { get; }
member this.RootElement : System.Text.Json.JsonElement
Public ReadOnly Property RootElement As JsonElement

Property Value

A JsonElement representing the value of the document.

Applies to