Discuss this help topic in SecureBlackbox Forum

TElJsonValue.AsBoolean

TElJsonValue     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


This topic is under development…

Declaration

[C#]
    bool AsBoolean;

[VB.NET]
    Property AsBoolean As Boolean

[Pascal]
    property AsBoolean : boolean;

[C++]
    bool get_AsBoolean();
    void set_AsBoolean(bool Value);

[PHP]
    bool get_AsBoolean()
    void set_AsBoolean(bool $Value)

[Java]
    boolean getAsBoolean();
    void setAsBoolean(boolean AValue);

Description

    Returns boolean value. If current type is jsonBoolean, the boolean value is returned. If current type if jsonString, it attempts to convert the value to boolean; raises an exception it the attempt fails. In all other cases an exception is raied. On setting changes value type to jsonBoolean.

See also:         

Discuss this help topic in SecureBlackbox Forum