JsonReaderData Class

Definition

Contains state for use with a Utf8JsonReaderManager, abstracting the reading from a Stream or a buffer.

[System.Runtime.CompilerServices.Nullable(0)]
public class JsonReaderData
[<System.Runtime.CompilerServices.Nullable(0)>]
type JsonReaderData = class
Public Class JsonReaderData
Inheritance
JsonReaderData
Attributes

Constructors

Name Description
JsonReaderData(Byte[])

Creates a new JsonReaderData object to read JSON from the given buffer.

JsonReaderData(Stream)

Creates a new JsonReaderData object to read JSON from the given stream.

Methods

Name Description
CaptureState(Utf8JsonReaderManager)

Called to capture the state of the given Utf8JsonReaderManager so that a new Utf8JsonReaderManager can later be created to pick up at the same position in the JSON document.

CreateReader()

Creates a Utf8JsonReader for the current captured state.

ReadBytes(Int32, JsonReaderState)

Called to read bytes from the stream.

Applies to