<PackageReference Include="System.Text.Json" Version="4.7.2" />

JsonReaderState

public struct JsonReaderState
Defines an opaque type that holds and saves all the relevant state information, which must be provided to the Utf8JsonReader to continue reading after processing incomplete data.
public JsonReaderOptions Options { get; }

Gets the custom behavior to use when reading JSON data using the Utf8JsonReader struct that may deviate from strict adherence to the JSON specification, which is the default behavior.

public JsonReaderState(JsonReaderOptions options = default)

Constructs a new JsonReaderState instance.