Description
JsonObject.getBoolean(String name) returns false instead of ClassCastException.
According to javadoc for JsonObject.getBoolean(String name) (http://docs.oracle.com/javaee/7/api/javax/json/JsonObject.html#getBoolean-java.lang.String-) :
If the value for specified name mapping is not assignable to JsonValue.TRUE or JsonValue.FALSE, ClassCastException should be thrown.
Example: https://github.com/kal0ian/Examples