Click or drag to resize

DefaultJsonStreamReader Class

Newtonsoft.Json based implementation of IJsonStreamReader.
Inheritance Hierarchy
SystemObject
  Couchbase.Core.IO.SerializersDefaultJsonStreamReader

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

The DefaultJsonStreamReader type exposes the following members.

Constructors
  NameDescription
Public methodDefaultJsonStreamReader
Creates a new DefaultJsonStreamReader.
Top
Properties
  NameDescription
Public propertyDeserializer
The JsonSerializer to use for deserializing objects.
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 methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
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