public void shouldHandleJsonNullsOnGet() {
JsonObject o = object().put("x", JsonPrimitive.JSON_NULL).get();
assertThat((JsonPrimitive)o.get("x"), CoreMatchers.notNullValue());
assertThat(o.getInt("x"), CoreMatchers.nullValue());
assertThat(o.getLong("x"), CoreMatchers.nullValue());
assertThat(o.getFloat("x"), CoreMatchers.nullValue());
assertThat(o.getDouble("x"), CoreMatchers.nullValue());
assertThat(o.getBoolean("x"), CoreMatchers.nullValue());
assertThat(o.getString("x"), CoreMatchers.nullValue());
assertThat(o.getArray("x"), CoreMatchers.nullValue());
assertThat(o.getObject("x"), CoreMatchers.nullValue());
}