Class JsonReader
Represents a BSON reader for a JSON string.
- Inheritance
-
Json
Reader
- Implements
- Inherited Members
- Extension Methods
Constructors
- Json
Reader(Text Reader) Initializes a new instance of the JsonReader class.
- Json
Reader(Text Reader, Json Reader Settings) Initializes a new instance of the JsonReader class.
- Json
Reader(string) Initializes a new instance of the JsonReader class.
- Json
Reader(string, Json Reader Settings) Initializes a new instance of the JsonReader class.
Methods
- Close()
Closes the reader.
- Dispose(bool)
Disposes of any resources used by the reader.
- Get
Bookmark() Gets a bookmark to the reader's current position and state.
- Is
AtEnd OfFile() Determines whether this reader is at end of file.
- Read
Binary Data() Reads BSON binary data from the reader.
- Read
Boolean() Reads a BSON boolean from the reader.
- Read
Bson Type() Reads a BsonType from the reader.
- Read
Bytes() Reads BSON binary data from the reader.
- Read
Date Time() Reads a BSON DateTime from the reader.
- Read
Decimal128() Reads a BSON Decimal128 from the reader.
- Read
Double() Reads a BSON Double from the reader.
- Read
End Array() Reads the end of a BSON array from the reader.
- Read
End Document() Reads the end of a BSON document from the reader.
- Read
Guid() Reads a Guid from the reader.
- Read
Guid(Guid Representation) Reads a Guid with the specified representation from the reader.
- Read
Int32() Reads a BSON Int32 from the reader.
- Read
Int64() Reads a BSON Int64 from the reader.
- Read
Java Script() Reads a BSON JavaScript from the reader.
- Read
Java Script With Scope() Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope).
- Read
Max Key() Reads a BSON MaxKey from the reader.
- Read
Min Key() Reads a BSON MinKey from the reader.
- Read
Name(IName Decoder) Reads the name of an element from the reader.
- Read
Null() Reads a BSON null from the reader.
- Read
Object Id() Reads a BSON ObjectId from the reader.
- Read
Regular Expression() Reads a BSON regular expression from the reader.
- Read
Start Array() Reads the start of a BSON array.
- Read
Start Document() Reads the start of a BSON document.
- Read
String() Reads a BSON string from the reader.
- Read
Symbol() Reads a BSON symbol from the reader.
- Read
Timestamp() Reads a BSON timestamp from the reader.
- Read
Undefined() Reads a BSON undefined from the reader.
- Return
ToBookmark(Bson Reader Bookmark) Returns the reader to previously bookmarked position and state.
- Skip
Name() Skips the name (reader must be positioned on a name).
- Skip
Value() Skips the value (reader must be positioned on a value).