Skip to content

JsonProperty<TValue>.Utf16NameSpan Property

Definition

Namespace: Corvus.Text.Json
Assembly: Corvus.Text.Json.dll
Source: JsonProperty.cs

Utf16NameSpan()

Gets the name as an unescaped UTF-16 JSON string.

public UnescapedUtf16JsonString Utf16NameSpan { get; }

Returns

UnescapedUtf16JsonString

Remarks

Note that this does not allocate. The result should be disposed when it is no longer needed, as it may use a rented buffer to back the string. It is only valid for the lifetime of the document that contains this property.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue