Class BsonReader
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
Declaration
public BsonReader (System.IO.BinaryReader reader);
Parameters
Declaration
public BsonReader (System.IO.Stream stream);
Parameters
Declaration
public BsonReader (System.IO.BinaryReader reader, bool readRootValueAsArray, DateTimeKind dateTimeKindHandling);
Parameters
Declaration
public BsonReader (System.IO.Stream stream, bool readRootValueAsArray, DateTimeKind dateTimeKindHandling);
Parameters
Properties
Declaration
public DateTimeKind DateTimeKindHandling { get; set; }
Property Value
Declaration
[System.Obsolete("JsonNet35BinaryCompatibility will be removed in a future version of Json.NET.")]
public bool JsonNet35BinaryCompatibility { get; set; }
Property Value
Declaration
public bool ReadRootValueAsArray { get; set; }
Property Value
Methods
Declaration
public override void Close ();
Declaration
public override bool Read ();
Returns