Data.DBJson.TJSONTypesMode

From RAD Studio API Documentation
Jump to: navigation, search

[–] 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 the JSON content.
  • TJSONTypesMode.JSONOnly - The adapter will use only JSON value types.
  • TJSONTypesMode.StringOnly - All fields will be represented by ftWideString.

The default value for TJSONTypesMode is TJSONTypesMode.Rich.

See Also