FromSimpleObject

<< Click to Display Table of Contents >>

Navigation:  Classes > TJsonObject > Methods >

FromSimpleObject

SIGNATURE=IWJsonDataObjects.TJsonObject.FromSimpleObject@TObject@Boolean

 

ETYPE=Method

 

Declaration:

Delphi:

public procedure FromSimpleObject(AObject: TObject; ALowerCamelCase: Boolean = False);

C++:

void public: __fastcall FromSimpleObject(TObject * AObject, bool ALowerCamelCase = False);

 

Description: FromSimpleObject() clears the JSON object and adds the Delphi object's properties. The object's class must be compiled with the $M+ compiler switch or derive from TPersistent.