System.JSON.Writers.TJsonTextWriter.ExtendedJsonMode
Delphi
property ExtendedJsonMode: TJsonExtendedJsonMode read FExtendedJsonMode write FExtendedJsonMode;
C++
__property System::Json::Types::TJsonExtendedJsonMode ExtendedJsonMode = {read=FExtendedJsonMode, write=FExtendedJsonMode, nodefault};
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| property | public | System.JSON.Writers.pas System.JSON.Writers.hpp | System.JSON.Writers | TJsonTextWriter | 
Description
Gets or sets the mode in which the writer should operate when writing extended tokens, such as TJsonOid or TJsonRegEx.
The possible values are: None, StrictMode, MongoShell.
- None: No extended mode applies.
- StrictMode: Indicates that extended JSON types are written as representations of BSON types that conform to the JSON RFC. Any JSON parser can parse these strict mode representations as key/value pairs.
- MongoShell: Indicates that extended JSON types are written as a superset of JSON that the MongoDB shell can parse.
When you  create an instance of  TJsonTextWriter,  ExtendedJsonMode is set to None.