get_boolean


Description:

[ Version ( since = "2.1.1" ) ]
public bool get_boolean (string key, out bool value) throws Error

Gets a boolean from a JSON object.

An error is returned if key is not the correct type.

Parameters:

this

a JsonObject

key

dictionary key

value

boolean value

Returns:

true if value was parsed as an integer