Click or drag to resize

IJsonStreamReader Interface

Reads values and objects from a JSON stream asynchronously.

Namespace:  Couchbase.Core.IO.Serializers
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax
C#
public interface IJsonStreamReader : IDisposable

The IJsonStreamReader type exposes the following members.

Properties
  NameDescription
Public propertyValue
If the reader is stopped on a simple value attribute, returns the value.
Public propertyValueType
If the reader is stopped on a simple value attribute, returns the .NET type of the value. Otherwise, returns null.
Top
Methods
  NameDescription
Public methodInitializeAsync
Initializes the reader
Public methodReadArrayAsyncT
Reads an array of tokens at the current point in the stream.
Public methodReadObjectAsyncT
Reads an object at the current point in the stream.
Public methodReadTokenAsync
Reads a dynamic token at the current point in the stream.
Public methodReadToNextAttributeAsync
Reads until the next attribute is found in the stream. Returns the path to the attribute, or

Field Value

Type: 
null if the end of the stream is reached.
Top
Extension Methods
  NameDescription
Public Extension MethodReadObjectsAsyncT
Read an array at the current point in the stream as an array of POCOs.
(Defined by JsonStreamDeserializerExtensions.)
Public Extension MethodReadTokensAsync
Read an array at the current point in the stream as an array of .
(Defined by JsonStreamDeserializerExtensions.)
Top
See Also