Data.DBJson.TJSONTypesMode
[–] Properties | |
---|---|
Type: enum | |
Visibility: public | |
Source: Data.DBJson.pas Data.DBJson.hpp
| |
Unit: Data.DBJson | |
Parent: Data.DBJson |
Delphi
TJSONTypesMode = (Rich, JSONOnly, StringOnly);
C++
enum class DECLSPEC_DENUM TJSONTypesMode : unsigned char { Rich, JSONOnly, StringOnly };
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
.