REST.Json.Interceptors.TArrayInterceptor.ObjectsConverter
Delphi
function ObjectsConverter(Data: TObject; Field: string): TListOfObjects; override;
C++
virtual Rest::Jsonreflect::TListOfObjects __fastcall ObjectsConverter(System::TObject* Data, System::UnicodeString Field);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | REST.Json.Interceptors.pas REST.Json.Interceptors.hpp |
REST.Json.Interceptors | TArrayInterceptor |
Description
Converter that transforms a field value into an array of objects.
REST.Json.Interceptors.TArrayInterceptor.ObjectsConverter inherits from REST.JsonReflect.TJSONInterceptor.ObjectsConverter. All content below this line refers to REST.JsonReflect.TJSONInterceptor.ObjectsConverter.
Converter that transforms a field value into an array of objects.
The ObjectsConverter method returns a TListOfObjects generated from the Field
value of the Data
object.