Data.DBXJSONReflect.TJSONPopulationCustomizer.PrePopulate

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.DBXJSONReflect.pas
Data.DBXJSONReflect.hpp
Unit: Data.DBXJSONReflect
Parent: TJSONPopulationCustomizer

Delphi

procedure PrePopulate(Data: TObject; rttiContext: TRttiContext); virtual;

C++

virtual void __fastcall PrePopulate(System::TObject* Data, System::Rtti::TRttiContext rttiContext);

Description

Customizer to alter an unmarshaled object instance before populating fields.

The PrePopulate method represents a customizer to alter an unmarshaled object instance before populating fields. Call PrePopulate with Data and rttiContext parameters.

Data represents the current object instance that is being deserialized.

rttiContext represents the RTTI context for field reflection.

See Also