ToSimpleObject

<< Click to Display Table of Contents >>

Navigation:  Classes > TJsonObject > Methods >

ToSimpleObject

SIGNATURE=IWJsonDataObjects.TJsonObject.ToSimpleObject@TObject@Boolean

 

ETYPE=Method

 

Declaration:

Delphi:

public procedure ToSimpleObject(AObject: TObject; ACaseSensitive: Boolean = True);

C++:

void public: __fastcall ToSimpleObject(TObject * AObject, bool ACaseSensitive = True);

 

Description: ToSimpleObject() maps the JSON object properties to the Delphi object by using the object's TypeInfo. The object's class must be compiled with the $M+ compiler switch or derive from TPersistent.