private Boolean readOptionalBoolean ( JSONValue val ) { JSONBoolean b = null == val ? null : val . isBoolean ( ) ; if ( b != null ) { return Boolean . valueOf ( b . booleanValue ( ) ) ; } return null ; }
Read an optional boolean value form a JSON value .