Skip to content

FixedStringJsonDocument<T>.Parse Method

Definition

Namespace: Corvus.Text.Json.Internal
Assembly: Corvus.Text.Json.dll
Source: FixedStringJsonDocument.cs

Parse(ReadOnlyMemory<byte>, bool)

Parse an instance of the fixed string to a document, using caching.

public static FixedStringJsonDocument<T> Parse(ReadOnlyMemory<byte> rawJsonStringValue, bool requiresUnescaping)

Parameters

Name Type Description
rawJsonStringValue ReadOnlyMemory<byte> The raw JSON string value, including quotes.
requiresUnescaping bool

Returns

FixedStringJsonDocument<T>

A fixed string document representing the value, from the cache.

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