Click or drag to resize

JsonOutputMode Enumeration

Represents the output mode of a JsonWriter.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public enum JsonOutputMode
Members
  Member nameValueDescription
Strict0 Obsolete. Output strict JSON (an obsolete output mode that is similar to canonical extended JSON).
Shell1 Use a format that can be pasted in to the MongoDB shell.
CanonicalExtendedJson2 Output canonical extended JSON.
RelaxedExtendedJson3 Output relaxed extended JSON.
JavaScript1 Obsolete. Use JavaScript data types for some values.
TenGen1 Obsolete. Use JavaScript and MongoDB data types for some values.
See Also