System.JSON.BSON.TBsonType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TBsonType = (
BsonDocument = 0,
Float = 1,
&String = 2,
&Object = 3,
&Array = 4,
Binary = 5,
Undefined = 6,
Oid = 7,
Boolean = 8,
DateTime = 9,
Null = 10,
Regex = 11,
Reference = 12,
Code = 13,
Symbol = 14,
CodeWScope = 15,
Integer = 16,
TimeStamp = 17,
Long = 18,
MinKey = 255,
MaxKey = 127
);

C++

enum class DECLSPEC_DENUM TBsonType : unsigned char { BsonDocument, Float, String, Object, Array, Binary, Undefined, Oid, Boolean, DateTime, Null, Regex, Reference, Code, Symbol, CodeWScope, Integer, TimeStamp, Long, MinKey = 255, MaxKey = 127 };

Properties

Type Visibility Source Unit Parent
enum public
System.JSON.BSON.pas
System.JSON.BSON.hpp
System.JSON.BSON System.JSON.BSON

Description

Type of the value of a BSON token.

The type of a BSON value may be any of the following:

Type Description
BsonDocument Beginning of a BSON document.
Float 64-bit binary floating-point element.
String UTF-8 string element.
Object Embedded document (object) element.
Array Array element.
Binary Binary data element.
Undefined

Undefined value element.

Note: This type of element is marked as deprecated in the BSON Specification.
Oid ObjectId element.
Boolean Boolean element.
DateTime UTC datetime element.
Null Null value element.
Regex Regular expression element.
Reference

Database pointer element.

Note: This type of element is marked as deprecated in the BSON Specification.
Code JavaScript code element.
Symbol

Symbol element.

Note: This type of element is marked as deprecated in the BSON Specification.
CodeWScope Element of JavaScript code with scope.
Integer 32-bit integer element.
TimeStamp Timestamp element.
Long 64-bit integer element.
MinKey Min key element.
MaxKey Max key element.

See Also