JsonOutputMode Enumeration |
Represents the output mode of a JsonWriter.
Namespace:
MongoDB.Bson.IO
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax public enum JsonOutputMode
Public Enumeration JsonOutputMode
Members
| Member name | Value | Description |
---|
| Strict | 0 | Obsolete.
Output strict JSON (an obsolete output mode that is similar to canonical extended JSON).
|
| Shell | 1 |
Use a format that can be pasted in to the MongoDB shell.
|
| CanonicalExtendedJson | 2 |
Output canonical extended JSON.
|
| RelaxedExtendedJson | 3 |
Output relaxed extended JSON.
|
| JavaScript | 1 | Obsolete.
Use JavaScript data types for some values.
|
| TenGen | 1 | Obsolete.
Use JavaScript and MongoDB data types for some values.
|
See Also