| Value | Meaning |
|---|---|
| end0x00 | End marker - should never occur explicitly |
| double_0x01 | A 64-bit floating point value |
| string0x02 | A UTF-8 string |
| object0x03 | An object aka. dictionary of string to Bson |
| array0x04 | An array of BSON values |
| binData0x05 | Raw binary data (ubyte[]) |
| undefined0x06 | Deprecated |
| objectID0x07 | BSON Object ID (96-bit) |
| bool_0x08 | Boolean value |
| date0x09 | Date value (UTC) |
| null_0x0A | Null value |
| regex0x0B | Regular expression |
| dbRef0x0C | Deprecated |
| code0x0D | JaveScript code |
| symbol0x0E | Symbol/variable name |
| codeWScope0x0F | JavaScript code with scope |
| int_0x10 | 32-bit integer |
| timestamp0x11 | Timestamp value |
| long_0x12 | 64-bit integer |
| minKey0xff | Internal value |
| maxKey0x7f | Internal value |
| Endend | Compatibility alias - will be deprecated soon. |
| Doubledouble_ | Compatibility alias - will be deprecated soon. |
| Stringstring | Compatibility alias - will be deprecated soon. |
| Objectobject | Compatibility alias - will be deprecated soon. |
| Arrayarray | Compatibility alias - will be deprecated soon. |
| BinDatabinData | Compatibility alias - will be deprecated soon. |
| Undefinedundefined | Compatibility alias - will be deprecated soon. |
| ObjectIDobjectID | Compatibility alias - will be deprecated soon. |
| Boolbool_ | Compatibility alias - will be deprecated soon. |
| Datedate | Compatibility alias - will be deprecated soon. |
| Nullnull_ | Compatibility alias - will be deprecated soon. |
| Regexregex | Compatibility alias - will be deprecated soon. |
| DBRefdbRef | Compatibility alias - will be deprecated soon. |
| Codecode | Compatibility alias - will be deprecated soon. |
| Symbolsymbol | Compatibility alias - will be deprecated soon. |
| CodeWScopecodeWScope | Compatibility alias - will be deprecated soon. |
| Intint_ | Compatibility alias - will be deprecated soon. |
| Timestamptimestamp | Compatibility alias - will be deprecated soon. |
| Longlong_ | Compatibility alias - will be deprecated soon. |
| MinKeyminKey | Compatibility alias - will be deprecated soon. |
| MaxKeymaxKey | Compatibility alias - will be deprecated soon. |
Represents the type of a BSON value