REST.Json.Interceptors.TArrayInterceptor.ObjectsReverter
Delphi
procedure ObjectsReverter(Data: TObject; Field: string; Arg: TListOfObjects); override;
C++
virtual void __fastcall ObjectsReverter(System::TObject* Data, System::UnicodeString Field, Rest::Jsonreflect::TListOfObjects Arg);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | REST.Json.Interceptors.pas REST.Json.Interceptors.hpp |
REST.Json.Interceptors | TArrayInterceptor |
Description
Reverter that sets an object field to a value based on an array of intermediate objects
REST.Json.Interceptors.TArrayInterceptor.ObjectsReverter inherits from REST.JsonReflect.TJSONInterceptor.ObjectsReverter. All content below this line refers to REST.JsonReflect.TJSONInterceptor.ObjectsReverter.
Reverter that sets an object field to a value based on an array of intermediate objects.
The ObjectsReverter method sets the specified Field
of the object Data
to a value based on the array of intermediate objects specified in Arg
.