Data.DBJson.TJSONTypesMode

From RAD Studio API Documentation
Jump to: navigation, search

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 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