get_double_member_with_default
Description:
[ Version ( since = "1.6" ) ]
public double get_double_member_with_default (string member_name, double default_value)
public double get_double_member_with_default (string member_name, double default_value)
Convenience function that retrieves the floating point value stored in member_name
of this.
If member_name
does not exist, does not contain a scalar value, or contains `null`, then default_value
is returned
instead.
Parameters:
this |
a JSON object |
member_name |
the name of the this member |
default_value |
the value to return if |
Returns:
the floating point value of the object's member, or the given default |