Open GoogleCodeExporter opened 9 years ago
Interesting. If I do this, BOTH work:
Json.Object data = json().createObject();
data.put("name", "string");
data.put("other", "string");
data.put("number", 1234);
Json.Writer writer = json().newWriter();
writer.object(data);
log().info("Sending: "+writer.write());
Map<String,Object> data2 = new HashMap<String,Object>();
data2.put("string", "string");
data2.put("number", 1234);
writer = json().newWriter();
writer.object(data2);
log().info("Sending2: "+writer.write());
Original comment by dc...@dcode.io
on 2 Nov 2012 at 7:14
Original issue reported on code.google.com by
dc...@dcode.io
on 2 Nov 2012 at 7:03