static private GetBoolean ( System.Json.JsonObject obj, string key ) : bool | ||
obj | System.Json.JsonObject | |
key | string | |
return | bool |
static bool GetBoolean (JsonObject obj, string key)
{
try {
return (bool) obj [key];
} catch {
return false;
}
}