Class BsonReader
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Newtonsoft.Json.dll
Syntax
[System.Obsolete("BSON reading and writing has been moved to its own package. See https://www.nuget.org/packages/Newtonsoft.Json.Bson for more details.")]
public class BsonReader : Newtonsoft.Json.JsonReader
Constructors
BsonReader(BinaryReader)
BsonReader(Stream)
BsonReader(BinaryReader, Boolean, DateTimeKind)
Declaration
public BsonReader (System.IO.BinaryReader reader, bool readRootValueAsArray, DateTimeKind dateTimeKindHandling);
Parameters
BinaryReader
reader
|
Boolean
readRootValueAsArray
|
DateTimeKind
dateTimeKindHandling
|
BsonReader(Stream, Boolean, DateTimeKind)
Declaration
public BsonReader (System.IO.Stream stream, bool readRootValueAsArray, DateTimeKind dateTimeKindHandling);
Parameters
Stream
stream
|
Boolean
readRootValueAsArray
|
DateTimeKind
dateTimeKindHandling
|
Properties
DateTimeKindHandling
JsonNet35BinaryCompatibility
Declaration
[System.Obsolete("JsonNet35BinaryCompatibility will be removed in a future version of Json.NET.")]
public bool JsonNet35BinaryCompatibility { get; set; }
Property Value
Boolean
|
ReadRootValueAsArray
Methods
Close()
Declaration
public override void Close ();