Table of Contents

Class JsonToken

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

Represents a JSON token.

public class JsonToken
Inheritance
JsonToken
Derived
Inherited Members
Extension Methods

Constructors

JsonToken(JsonTokenType, string)

Initializes a new instance of the JsonToken class.

Properties

DateTimeValue

Gets the value of a DateTime token.

DoubleValue

Gets the value of a Double token.

Int32Value

Gets the value of an Int32 token.

Int64Value

Gets the value of an Int64 token.

IsNumber

Gets a value indicating whether this token is number.

Lexeme

Gets the lexeme.

ObjectIdValue

Gets the value of an ObjectId token.

RegularExpressionValue

Gets the value of a regular expression token.

StringValue

Gets the value of a string token.

Type

Gets the token type.