Data.DBXJSONReflect.JSONOwned

De RAD Studio API Documentation
Aller à : navigation, rechercher

Data.DBXJSONReflect.JSONBooleanAttributeSystem.TCustomAttributeSystem.TObjectJSONOwned

Delphi

JSONOwned = class(JSONBooleanAttribute)

C++

class PASCALIMPLEMENTATION JSONOwned : public JSONBooleanAttribute

Propriétés

Type Visibilité  Source Unité  Parent
class public
Data.DBXJSONReflect.pas
Data.DBXJSONReflect.hpp
Data.DBXJSONReflect Data.DBXJSONReflect

Description

Attribut qui spécifie si un champ doit être libéré avant d'être rempli pendant le processus unmarshalling.

Si la propriété Value de ce JSONOwned est définie sur False, le champ ne sera pas libéré pendant le processus unmarshalling, même si un objet était alloué par le constructeur.

Si JSONOwned n'est pas présent, la valeur par défaut est True.

Remarque : Définir la valeur de l'attribut JSONOwned sur False peut conduire à des pertes de mémoire.

Voir aussi