com.wallstop-studios.unity-helpers
Version:
Treasure chest of Unity developer tools
754 lines (749 loc) • 666 kB
text/xml
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Text.Json</name>
</assembly>
<members>
<member name="T:System.Runtime.InteropServices.JsonMarshal" />
<member name="M:System.Runtime.InteropServices.JsonMarshal.GetRawUtf8Value(System.Text.Json.JsonElement)">
<param name="element" />
</member>
<member name="T:System.Text.Json.JsonCommentHandling">
<summary
>Defines how the <see cref="T:System.Text.Json.Utf8JsonReader" /> struct handles comments.</summary
>
</member>
<member name="F:System.Text.Json.JsonCommentHandling.Allow">
<summary>Allows comments within the JSON input and treats them as valid tokens. While reading, the caller can access the comment values.</summary>
</member>
<member name="F:System.Text.Json.JsonCommentHandling.Disallow">
<summary
>Doesn't allow comments within the JSON input. Comments are treated as invalid JSON if found, and a <see cref="T:System.Text.Json.JsonException" /> is thrown. This is the default value.</summary
>
</member>
<member name="F:System.Text.Json.JsonCommentHandling.Skip">
<summary
>Allows comments within the JSON input and ignores them. The <see cref="T:System.Text.Json.Utf8JsonReader" /> behaves as if no comments are present.</summary
>
</member>
<member name="T:System.Text.Json.JsonDocument">
<summary>Provides a mechanism for examining the structural content of a JSON value without automatically instantiating data values.</summary>
</member>
<member name="M:System.Text.Json.JsonDocument.Dispose">
<summary
>Releases the resources used by this <xref
data-throw-if-not-resolved="true"
uid="System.Text.Json.JsonDocument"
></xref> instance.</summary
>
</member>
<member name="M:System.Text.Json.JsonDocument.Parse(System.Buffers.ReadOnlySequence{System.Byte},System.Text.Json.JsonDocumentOptions)">
<summary>Parses a sequence as UTF-8-encoded text representing a single JSON value into a JsonDocument.</summary>
<param name="utf8Json">The JSON text to parse.</param>
<param name="options">Options to control the reader behavior during parsing.</param>
<exception cref="T:System.Text.Json.JsonException">
<paramref name="utf8Json" /> does not represent a valid single JSON value.</exception
>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contains unsupported options.</exception
>
<returns>A JsonDocument representation of the JSON value.</returns>
</member>
<member name="M:System.Text.Json.JsonDocument.Parse(System.IO.Stream,System.Text.Json.JsonDocumentOptions)">
<summary
>Parses a <see cref="T:System.IO.Stream" /> as UTF-8-encoded data representing a single JSON value into a JsonDocument. The stream is read to completion.</summary
>
<param name="utf8Json">The JSON data to parse.</param>
<param name="options">Options to control the reader behavior during parsing.</param>
<exception cref="T:System.Text.Json.JsonException">
<paramref name="utf8Json" /> does not represent a valid single JSON value.</exception
>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contains unsupported options.</exception
>
<returns>A JsonDocument representation of the JSON value.</returns>
</member>
<member name="M:System.Text.Json.JsonDocument.Parse(System.ReadOnlyMemory{System.Byte},System.Text.Json.JsonDocumentOptions)">
<summary>Parses memory as UTF-8-encoded text representing a single JSON value into a JsonDocument.</summary>
<param name="utf8Json">The JSON text to parse.</param>
<param name="options">Options to control the reader behavior during parsing.</param>
<exception cref="T:System.Text.Json.JsonException">
<paramref name="utf8Json" /> does not represent a valid single JSON value.</exception
>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contains unsupported options.</exception
>
<returns>A JsonDocument representation of the JSON value.</returns>
</member>
<member name="M:System.Text.Json.JsonDocument.Parse(System.ReadOnlyMemory{System.Char},System.Text.Json.JsonDocumentOptions)">
<summary>Parses text representing a single JSON value into a JsonDocument.</summary>
<param name="json">The JSON text to parse.</param>
<param name="options">Options to control the reader behavior during parsing.</param>
<exception cref="T:System.Text.Json.JsonException">
<paramref name="json" /> does not represent a valid single JSON value.</exception
>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contains unsupported options.</exception
>
<returns>A JsonDocument representation of the JSON value.</returns>
</member>
<member name="M:System.Text.Json.JsonDocument.Parse(System.String,System.Text.Json.JsonDocumentOptions)">
<summary>Parses text representing a single JSON string value into a JsonDocument.</summary>
<param name="json">The JSON text to parse.</param>
<param name="options">Options to control the reader behavior during parsing.</param>
<exception cref="T:System.Text.Json.JsonException">
<paramref name="json" /> does not represent a valid single JSON value.</exception
>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contains unsupported options.</exception
>
<returns>A JsonDocument representation of the JSON value.</returns>
</member>
<member name="M:System.Text.Json.JsonDocument.ParseAsync(System.IO.Stream,System.Text.Json.JsonDocumentOptions,System.Threading.CancellationToken)">
<summary
>Parses a <see cref="T:System.IO.Stream" /> as UTF-8-encoded data representing a single JSON value into a JsonDocument. The stream is read to completion.</summary
>
<param name="utf8Json">The JSON data to parse.</param>
<param name="options">Options to control the reader behavior during parsing.</param>
<param name="cancellationToken">The token to monitor for cancellation requests.</param>
<exception cref="T:System.Text.Json.JsonException">
<paramref name="utf8Json" /> does not represent a valid single JSON value.</exception
>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contains unsupported options.</exception
>
<exception cref="T:System.OperationCanceledException"
>The cancellation token was canceled. This exception is stored into the returned task.</exception
>
<returns>A task to produce a JsonDocument representation of the JSON value.</returns>
</member>
<member name="M:System.Text.Json.JsonDocument.ParseValue(System.Text.Json.Utf8JsonReader@)">
<summary>Parses one JSON value (including objects or arrays) from the provided reader.</summary>
<param name="reader">The reader to read.</param>
<exception cref="T:System.ArgumentException">
<paramref name="reader" /> contains unsupported options.
-or-
The current <paramref name="reader" /> token does not start or represent a value.</exception
>
<exception cref="T:System.Text.Json.JsonException"
>A value could not be read from the reader.</exception
>
<returns>A JsonDocument representing the value (and nested values) read from the reader.</returns>
</member>
<member name="M:System.Text.Json.JsonDocument.TryParseValue(System.Text.Json.Utf8JsonReader@,System.Text.Json.JsonDocument@)">
<summary>Attempts to parse one JSON value (including objects or arrays) from the provided reader.</summary>
<param name="reader">The reader to read.</param>
<param name="document">When the method returns, contains the parsed document.</param>
<exception cref="T:System.ArgumentException">
<paramref name="reader" /> contains unsupported options.
-or-
The current <paramref name="reader" /> token does not start or represent a value.</exception
>
<exception cref="T:System.Text.Json.JsonException"
>A value could not be read from the reader.</exception
>
<returns>
<see langword="true" /> if a value was read and parsed into a JsonDocument; <see langword="false" /> if the reader ran out of data while parsing. All other situations result in an exception being thrown.</returns
>
</member>
<member name="M:System.Text.Json.JsonDocument.WriteTo(System.Text.Json.Utf8JsonWriter)">
<summary>Writes the document to the provided writer as a JSON value.</summary>
<param name="writer">The writer to which to write the document.</param>
<exception cref="T:System.ArgumentNullException"
>The <paramref name="writer" /> parameter is <see langword="null" />.</exception
>
<exception cref="T:System.InvalidOperationException"
>The <see cref="P:System.Text.Json.JsonElement.ValueKind" /> of this <see cref="P:System.Text.Json.JsonDocument.RootElement" /> would result in invalid JSON.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
</member>
<member name="P:System.Text.Json.JsonDocument.RootElement">
<summary>Gets the root element of this JSON document.</summary>
<returns
>A <see cref="T:System.Text.Json.JsonElement" /> representing the value of the document.</returns
>
</member>
<member name="T:System.Text.Json.JsonDocumentOptions">
<summary
>Provides the ability for the user to define custom behavior when parsing JSON to create a <see cref="T:System.Text.Json.JsonDocument" />.</summary
>
</member>
<member name="P:System.Text.Json.JsonDocumentOptions.AllowTrailingCommas">
<summary>Gets or sets a value that indicates whether an extra comma at the end of a list of JSON values in an object or array is allowed (and ignored) within the JSON payload being read.</summary>
<returns>
<see langword="true" /> if an extra comma at the end of a list of JSON values in an object or array is allowed; otherwise, <see langword="false" />. Default is <see langword="false" />
</returns>
</member>
<member name="P:System.Text.Json.JsonDocumentOptions.CommentHandling">
<summary
>Gets or sets a value that determines how the <see cref="T:System.Text.Json.JsonDocument" /> handles comments when reading through the JSON data.</summary
>
<exception cref="T:System.ArgumentOutOfRangeException"
>The comment handling enum is set to a value that is not supported (or not within the <see cref="T:System.Text.Json.JsonCommentHandling" /> enum range).</exception
>
<returns>One of the enumeration values that indicates how comments are handled.</returns>
</member>
<member name="P:System.Text.Json.JsonDocumentOptions.MaxDepth">
<summary>Gets or sets the maximum depth allowed when parsing JSON data, with the default (that is, 0) indicating a maximum depth of 64.</summary>
<exception cref="T:System.ArgumentOutOfRangeException"
>The max depth is set to a negative value.</exception
>
<returns>The maximum depth allowed when parsing JSON data.</returns>
</member>
<member name="T:System.Text.Json.JsonElement">
<summary
>Represents a specific JSON value within a <see cref="T:System.Text.Json.JsonDocument" />.</summary
>
</member>
<member name="M:System.Text.Json.JsonElement.Clone">
<summary
>Gets a JsonElement that can be safely stored beyond the lifetime of the original <see cref="T:System.Text.Json.JsonDocument" />.</summary
>
<returns
>A JsonElement that can be safely stored beyond the lifetime of the original <see cref="T:System.Text.Json.JsonDocument" />.</returns
>
</member>
<member name="M:System.Text.Json.JsonElement.DeepEquals(System.Text.Json.JsonElement,System.Text.Json.JsonElement)">
<param name="element1" />
<param name="element2" />
</member>
<member name="M:System.Text.Json.JsonElement.EnumerateArray">
<summary>Gets an enumerator to enumerate the values in the JSON array represented by this JsonElement.</summary>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Array" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>An enumerator to enumerate the values in the JSON array represented by this JsonElement.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.EnumerateObject">
<summary>Gets an enumerator to enumerate the properties in the JSON object represented by this JsonElement.</summary>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Object" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>An enumerator to enumerate the properties in the JSON object represented by this JsonElement.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.GetArrayLength">
<summary>Gets the number of values contained within the current array value.</summary>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Array" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>The number of values contained within the current array value.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.GetBoolean">
<summary>Gets the value of the element as a <see cref="T:System.Boolean" />.</summary>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is neither <see cref="F:System.Text.Json.JsonValueKind.True" /> nor <see cref="F:System.Text.Json.JsonValueKind.False" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>The value of the element as a <see cref="T:System.Boolean" />.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.GetByte">
<summary>Gets the current JSON number as a <see cref="T:System.Byte" />.</summary>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Number" />.</exception
>
<exception cref="T:System.FormatException"
>The value cannot be represented as a <see cref="T:System.Byte" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>The current JSON number as a <see cref="T:System.Byte" />.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.GetBytesFromBase64">
<summary>Gets the value of the element as a byte array.</summary>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.String" />.</exception
>
<exception cref="T:System.FormatException"
>The value is not encoded as Base64 text and hence cannot be decoded to bytes.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>The value decoded as a byte array.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.GetDateTime">
<summary>Gets the value of the element as a <see cref="T:System.DateTime" />.</summary>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.String" />.</exception
>
<exception cref="T:System.FormatException"
>The value cannot be read as a <see cref="T:System.DateTime" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>The value of the element as a <see cref="T:System.DateTime" />.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.GetDateTimeOffset">
<summary
>Gets the value of the element as a <see cref="T:System.DateTimeOffset" />.</summary
>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.String" />.</exception
>
<exception cref="T:System.FormatException"
>The value cannot be read as a <see cref="T:System.DateTimeOffset" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>The value of the element as a <see cref="T:System.DateTimeOffset" />.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.GetDecimal">
<summary>Gets the current JSON number as a <see cref="T:System.Decimal" />.</summary>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Number" />.</exception
>
<exception cref="T:System.FormatException"
>The value cannot be represented as a <see cref="T:System.Decimal" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>The current JSON number as a <see cref="T:System.Decimal" />.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.GetDouble">
<summary>Gets the current JSON number as a <see cref="T:System.Double" />.</summary>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Number" />.</exception
>
<exception cref="T:System.FormatException"
>The value cannot be represented as a <see cref="T:System.Double" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>The current JSON number as a <see cref="T:System.Double" />.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.GetGuid">
<summary>Gets the value of the element as a <see cref="T:System.Guid" />.</summary>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.String" />.</exception
>
<exception cref="T:System.FormatException"
>The value cannot be represented as a <see cref="T:System.Guid" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>The value of the element as a <see cref="T:System.Guid" />.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.GetInt16">
<summary>Gets the current JSON number as an <see cref="T:System.Int16" />.</summary>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Number" />.</exception
>
<exception cref="T:System.FormatException"
>The value cannot be represented as an <see cref="T:System.Int16" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>The current JSON number as an <see cref="T:System.Int16" />.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.GetInt32">
<summary>Gets the current JSON number as an <see cref="T:System.Int32" />.</summary>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Number" />.</exception
>
<exception cref="T:System.FormatException"
>The value cannot be represented as an <see cref="T:System.Int32" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>The current JSON number as an <see cref="T:System.Int32" />.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.GetInt64">
<summary>Gets the current JSON number as an <see cref="T:System.Int64" />.</summary>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Number" />.</exception
>
<exception cref="T:System.FormatException"
>The value cannot be represented as a <see cref="T:System.Int64" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>The current JSON number as an <see cref="T:System.Int64" />.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.GetProperty(System.ReadOnlySpan{System.Byte})">
<summary
>Gets a <see cref="T:System.Text.Json.JsonElement" /> representing the value of a required property identified by <paramref name="utf8PropertyName" />.</summary
>
<param name="utf8PropertyName"
>The UTF-8 representation (with no Byte-Order-Mark (BOM)) of the name of the property to return.</param
>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Object" />.</exception
>
<exception cref="T:System.Collections.Generic.KeyNotFoundException"
>No property was found with the requested name.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns
>A <see cref="T:System.Text.Json.JsonElement" /> representing the value of the requested property.</returns
>
</member>
<member name="M:System.Text.Json.JsonElement.GetProperty(System.ReadOnlySpan{System.Char})">
<summary
>Gets a <see cref="T:System.Text.Json.JsonElement" /> representing the value of a required property identified by <paramref name="propertyName" />.</summary
>
<param name="propertyName"
>The name of the property whose value is to be returned.</param
>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Object" />.</exception
>
<exception cref="T:System.Collections.Generic.KeyNotFoundException"
>No property was found with the requested name.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns
>A <see cref="T:System.Text.Json.JsonElement" /> representing the value of the requested property.</returns
>
</member>
<member name="M:System.Text.Json.JsonElement.GetProperty(System.String)">
<summary
>Gets a <see cref="T:System.Text.Json.JsonElement" /> representing the value of a required property identified by <paramref name="propertyName" />.</summary
>
<param name="propertyName"
>The name of the property whose value is to be returned.</param
>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Object" />.</exception
>
<exception cref="T:System.Collections.Generic.KeyNotFoundException"
>No property was found with the requested name.</exception
>
<exception cref="T:System.ArgumentNullException">
<paramref name="propertyName" /> is <see langword="null" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns
>A <see cref="T:System.Text.Json.JsonElement" /> representing the value of the requested property.</returns
>
</member>
<member name="M:System.Text.Json.JsonElement.GetPropertyCount" />
<member name="M:System.Text.Json.JsonElement.GetRawText">
<summary>Gets a string that represents the original input data backing this value.</summary>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>The original input data backing this value.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.GetSByte">
<summary>Gets the current JSON number as an <see cref="T:System.SByte" />.</summary>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Number" />.</exception
>
<exception cref="T:System.FormatException"
>The value cannot be represented as an <see cref="T:System.SByte" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>The current JSON number as an <see cref="T:System.SByte" />.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.GetSingle">
<summary>Gets the current JSON number as a <see cref="T:System.Single" />.</summary>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Number" />.</exception
>
<exception cref="T:System.FormatException"
>The value cannot be represented as a <see cref="T:System.Single" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>The current JSON number as a <see cref="T:System.Single" />.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.GetString">
<summary>Gets the value of the element as a <see cref="T:System.String" />.</summary>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is neither <see cref="F:System.Text.Json.JsonValueKind.String" /> nor <see cref="F:System.Text.Json.JsonValueKind.Null" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>The value of the element as a <see cref="T:System.String" />.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.GetUInt16">
<summary>Gets the current JSON number as a <see cref="T:System.UInt16" />.</summary>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Number" />.</exception
>
<exception cref="T:System.FormatException"
>The value cannot be represented as a <see cref="T:System.UInt16" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>The current JSON number as a <see cref="T:System.UInt16" />.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.GetUInt32">
<summary>Gets the current JSON number as a <see cref="T:System.UInt32" />.</summary>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Number" />.</exception
>
<exception cref="T:System.FormatException"
>The value cannot be represented as a <see cref="T:System.UInt32" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>The current JSON number as a <see cref="T:System.UInt32" />.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.GetUInt64">
<summary>Gets the current JSON number as a <see cref="T:System.UInt64" />.</summary>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Number" />.</exception
>
<exception cref="T:System.FormatException"
>The value cannot be represented as a <see cref="T:System.UInt64" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>The current JSON number as a <see cref="T:System.UInt64" />.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.ParseValue(System.Text.Json.Utf8JsonReader@)">
<summary>Parses one JSON value (including objects or arrays) from the provided reader.</summary>
<param name="reader">The reader to read.</param>
<exception cref="T:System.ArgumentException">
<paramref name="reader" /> is using unsupported options.</exception
>
<exception cref="T:System.ArgumentException"
>The current <paramref name="reader" /> token does not start or represent a value.</exception
>
<exception cref="T:System.Text.Json.JsonException"
>A value could not be read from the reader.</exception
>
<returns>A JsonElement representing the value (and nested values) read from the reader.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.ToString">
<summary>Gets a string representation for the current value appropriate to the value type.</summary>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>A string representation for the current value appropriate to the value type.</returns>
</member>
<member name="M:System.Text.Json.JsonElement.TryGetByte(System.Byte@)">
<summary
>Attempts to represent the current JSON number as a <see cref="T:System.Byte" />.</summary
>
<param name="value"
>When this method returns, contains the byte equivalent of the current JSON number if the conversion succeeded, or 0 if the conversion failed.</param
>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Number" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>
<see langword="true" /> if the number can be represented as a <see cref="T:System.Byte" />; otherwise, <see langword="false" />.</returns
>
</member>
<member name="M:System.Text.Json.JsonElement.TryGetBytesFromBase64(System.Byte[]@)">
<summary>Attempts to represent the current JSON string as a byte array, assuming that it is Base64 encoded.</summary>
<param name="value"
>If the method succeeds, contains the decoded binary representation of the Base64 text.</param
>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.String" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>
<see langword="true" /> if the entire token value is encoded as valid Base64 text and can be successfully decoded to bytes; otherwise, <see langword="false" />.</returns
>
</member>
<member name="M:System.Text.Json.JsonElement.TryGetDateTime(System.DateTime@)">
<summary
>Attempts to represent the current JSON string as a <see cref="T:System.DateTime" />.</summary
>
<param name="value"
>When this method returns, contains the date and time value equivalent to the current JSON string if the conversion succeeded, or <see cref="P:System.DateTime.MinValue" /> if the conversion failed.</param
>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.String" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>
<see langword="true" /> if the string can be represented as a <see cref="T:System.DateTime" />; otherwise, <see langword="false" />.</returns
>
</member>
<member name="M:System.Text.Json.JsonElement.TryGetDateTimeOffset(System.DateTimeOffset@)">
<summary
>Attempts to represent the current JSON string as a <see cref="T:System.DateTimeOffset" />.</summary
>
<param name="value"
>When this method returns, contains the date and time value equivalent to the current JSON string if the conversion succeeded, or <see cref="P:System.DateTimeOffset.MinValue" /> if the conversion failed.</param
>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.String" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>
<see langword="true" /> if the string can be represented as a <see cref="T:System.DateTimeOffset" />; otherwise, <see langword="false" />.</returns
>
</member>
<member name="M:System.Text.Json.JsonElement.TryGetDecimal(System.Decimal@)">
<summary
>Attempts to represent the current JSON number as a <see cref="T:System.Decimal" />.</summary
>
<param name="value"
>When this method returns, contains the decimal equivalent of the current JSON number if the conversion succeeded, or 0 if the conversion failed.</param
>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Number" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>
<see langword="true" /> if the number can be represented as a <see cref="T:System.Decimal" />; otherwise, <see langword="false" />.</returns
>
</member>
<member name="M:System.Text.Json.JsonElement.TryGetDouble(System.Double@)">
<summary
>Attempts to represent the current JSON number as a <see cref="T:System.Double" />.</summary
>
<param name="value"
>When this method returns, contains a double-precision floating point value equivalent to the current JSON number if the conversion succeeded, or 0 if the conversion failed.</param
>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Number" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>
<see langword="true" /> if the number can be represented as a <see cref="T:System.Double" />; otherwise, <see langword="false" />.</returns
>
</member>
<member name="M:System.Text.Json.JsonElement.TryGetGuid(System.Guid@)">
<summary
>Attempts to represent the current JSON string as a <see cref="T:System.Guid" />.</summary
>
<param name="value"
>When this method returns, contains the GUID equivalent to the current JSON string if the conversion succeeded, or <see cref="P:System.Guid.Empty" /> if the conversion failed.</param
>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.String" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>
<see langword="true" /> if the string can be represented as a <see cref="T:System.Guid" />; otherwise, <see langword="false" />.</returns
>
</member>
<member name="M:System.Text.Json.JsonElement.TryGetInt16(System.Int16@)">
<summary
>Attempts to represent the current JSON number as an <see cref="T:System.Int16" />.</summary
>
<param name="value"
>When this method returns, contains the 16-bit integer value equivalent of the current JSON number if the conversion succeeded, or 0 if the conversion failed.</param
>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Number" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>
<see langword="true" /> if the number can be represented as an <see cref="T:System.Int16" />; otherwise, <see langword="false" />.</returns
>
</member>
<member name="M:System.Text.Json.JsonElement.TryGetInt32(System.Int32@)">
<summary
>Attempts to represent the current JSON number as an <see cref="T:System.Int32" />.</summary
>
<param name="value"
>When this method returns, contains the 32-bit integer value equivalent to the current JSON number if the conversion succeeded, or 0 if the conversion failed.</param
>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Number" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>
<see langword="true" /> if the number can be represented as an <see cref="T:System.Int32" />; otherwise, <see langword="false" />.</returns
>
</member>
<member name="M:System.Text.Json.JsonElement.TryGetInt64(System.Int64@)">
<summary
>Attempts to represent the current JSON number as a <see cref="T:System.Int64" />.</summary
>
<param name="value"
>When this method returns, contains the 64-bit integer value equivalent to the current JSON number if the conversion succeeded, or 0 if the conversion failed.</param
>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Number" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>
<see langword="true" /> if the number can be represented as a <see cref="T:System.Int64" />; otherwise, <see langword="false" />.</returns
>
</member>
<member name="M:System.Text.Json.JsonElement.TryGetProperty(System.ReadOnlySpan{System.Byte},System.Text.Json.JsonElement@)">
<summary
>Looks for a property named <paramref name="utf8PropertyName" /> in the current object, returning a value that indicates whether or not such a property exists. When the property exists, the method assigns its value to the <paramref name="value" /> argument.</summary
>
<param name="utf8PropertyName"
>The UTF-8 (with no Byte-Order-Mark (BOM)) representation of the name of the property to return.</param
>
<param name="value">Receives the value of the located property.</param>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Object" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception
>
<returns>
<see langword="true" /> if the property was found; otherwise, <see langword="false" />.</returns
>
</member>
<member name="M:System.Text.Json.JsonElement.TryGetProperty(System.ReadOnlySpan{System.Char},System.Text.Json.JsonElement@)">
<summary
>Looks for a property named <paramref name="propertyName" /> in the current object, returning a value that indicates whether or not such a property exists. When the property exists, the method assigns its value to the <paramref name="value" /> argument.</summary
>
<param name="propertyName">The name of the property to find.</param>
<param name="value"
>When this method returns, contains the value of the specified property.</param
>
<exception cref="T:System.InvalidOperationException"
>This value's <see cref="P:System.Text.Json.JsonElement.ValueKind" /> is not <see cref="F:System.Text.Json.JsonValueKind.Object" />.</exception
>
<exception cref="T:System.ObjectDisposedException"
>The parent <see cref="T:System.Text.Json.JsonDocument" /> has been disposed.</exception