REST.Response.Adapter.TCustomJSONDataSetAdapter.TypesMode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property TypesMode: TJSONTypesMode read GetTypesMode write SetTypesMode default TJSONTypesMode.StringOnly;

C++

__property Data::Dbjson::TJSONTypesMode TypesMode = {read=GetTypesMode, write=SetTypesMode, default=2};

Properties

Type Visibility Source Unit Parent
property public
REST.Response.Adapter.pas
REST.Response.Adapter.hpp
REST.Response.Adapter TCustomJSONDataSetAdapter

Description

-->

Embarcadero Technologies does not currently have any additional information.-->

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

See Also