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"));
Assert.assertTrue(json.optBoolean("keyBoolean"));
}
@Test
public void jsonFromElementVertexMapPropertyNoKeysNoTypes() throws JSONException {
Vertex v = this.graph.addVertex(1);