JsonObject { public Map<String, String> getProperties() { return props; } JsonObject();  JsonObject(boolean respectOrder); static JsonObject fromJson(String json, boolean respectOrder); static JsonObject create(JsopTokenizer t, boolean respectOrder); static JsonObject create(JsopTokenizer t); void toJson(JsopBuilder buf); Map<String, String> getProperties(); Map<String, JsonObject> getChildren(); @Override String toString();  }
@Test public void newObjectNotRespectingOrder() { JsonObject a = new JsonObject(); for (int i = 0; i < 100; i++) { a.getProperties().put("x" + i, "" + i); } for (int i = 0; i < 100; i++) { assertEquals("" + i, a.getProperties().get("x" + i)); } }