Data.DBJson.TJSONTypesMode
Delphi
TJSONTypesMode = (Rich, JSONOnly, StringOnly);
C++
enum class DECLSPEC_DENUM TJSONTypesMode : unsigned char { Rich, JSONOnly, StringOnly };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Data.DBJson.pas Data.DBJson.hpp |
Data.DBJson | Data.DBJson |
Description
Specifies the field type definition mode.
The modes are:
TJSONTypesMode.Rich
- The adapter will try to derive the field type from theJSON
content.TJSONTypesMode.JSONOnly
- The adapter will use onlyJSON
value types.TJSONTypesMode.StringOnly
- All fields will be represented byftWideString
.
The default value for TJSONTypesMode is TJSONTypesMode.Rich
.