public void testObject() {
JSONObject json = OTJson.object("string", "string", "int", 123, "double", 123.456, "true", true, "false", false, "null", null);
Assert.assertNotNull(json);
Assert.assertEquals("string", json.optString("string"));
Assert.assertEquals(123, json.optInt("int"));
Assert.assertEquals(123.456, json.optDouble("double"), 1e-15);
Assert.assertEquals(true, json.optBoolean("true"));
Assert.assertEquals(false, json.optBoolean("false"));
Assert.assertEquals(null, json.opt("null"));
}