Data.DBXJSONReflect.JSONBooleanAttributeValue
Delphi
function JSONBooleanAttributeValue( rttiObject: TRttiNamedObject; AttributeClass: TClass; DefaultValue: Boolean = false ): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall JSONBooleanAttributeValue(System::Rtti::TRttiNamedObject* rttiObject, System::TClass AttributeClass, bool DefaultValue = false);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.DBXJSONReflect.pas Data.DBXJSONReflect.hpp |
Data.DBXJSONReflect | Data.DBXJSONReflect |
Description
Returns the value of a boolean attribute of the specified class on the specified RTTI object or DefaultValue
if the attribute is not defined in the RTTI object.
AttributeClass
must be a subclass of JSONBooleanAttribute.
See Also