Data.DBJson.TJSONToDataSetBridge.TypesMode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property TypesMode: TJSONTypesMode read FTypesMode write FTypesMode default TJSONTypesMode.Rich;

C++

__property TJSONTypesMode TypesMode = {read=FTypesMode, write=FTypesMode, default=0};

Properties

Type Visibility Source Unit Parent
property public
Data.DBJson.pas
Data.DBJson.hpp
Data.DBJson TJSONToDataSetBridge

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 is TJSONTypesMode.Rich.

See Also