Data.DBXJSONReflect.JSONBooleanAttributeValue
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: public | |
| Source: Data.DBXJSONReflect.pas Data.DBXJSONReflect.hpp
| |
| Unit: Data.DBXJSONReflect | |
| Parent: Data.DBXJSONReflect | |
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);
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