Discuss this help topic in SecureBlackbox Forum

TElJsonValue.AsBoolean

TElJsonValue     See also     


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


This topic is under development…

Declaration

[C#/Java]
    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)

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