Data.DBXJSONReflect.JSONOwned
Delphi
JSONOwned = class(JSONBooleanAttribute)
C++
class PASCALIMPLEMENTATION JSONOwned : public JSONBooleanAttribute
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Data.DBXJSONReflect.pas Data.DBXJSONReflect.hpp |
Data.DBXJSONReflect | Data.DBXJSONReflect |
Description
Attribute that specifies whether a field should be freed before being populated during the unmarshalling process.
If the Value property of this JSONOwned is False, the field will not be freed during unmarshalling, even if an object was allocated by the constructor.
If JSONOwned is not present, the default value is True.
Note: Setting the value of the JSONOwned attribute to False may lead to memory leaks.