Assert.assertTrue(json.has("keyLong"));
Assert.assertEquals(1L, json.optLong("keyLong"));
Assert.assertTrue(json.has("keyInt"));
Assert.assertEquals(2, json.optInt("keyInt"));
Assert.assertTrue(json.has("keyFloat"));
Assert.assertEquals(3.3f, (float) json.optDouble("keyFloat"), 0);
Assert.assertTrue(json.has("keyExponentialDouble"));
Assert.assertEquals(1312928167.626012, json.optDouble("keyExponentialDouble"), 0);
Assert.assertTrue(json.has("keyDouble"));
Assert.assertEquals(4.4, json.optDouble("keyDouble"), 0);
Assert.assertTrue(json.has("keyBoolean"));