Open GoogleCodeExporter opened 9 years ago
Original comment by uriel.chemouni
on 3 Jan 2013 at 10:46
A first version is available on the GIT.
I need one more hour to complete this patch.
Original comment by uriel.chemouni
on 30 Jul 2013 at 7:04
a very basic version had been released in Json-smart 1.2, but not in the
Json-smart v2 branch.
so for the moment you can try thos use the class: JSONStyleIdent
ex:
public static void main(String[] args) {
JSONStyleIdent i = new JSONStyleIdent();
String j = "{'a':{'b':'c','d':'e'},f:[1,2,'XYZ']}".replace('\'', '"');
Object obj = JSONValue.parse(j);
System.out.println(JSONValue.toJSONString(obj, i));
}
Original comment by uriel.chemouni
on 29 Aug 2013 at 9:54
Original issue reported on code.google.com by
ccleve.t...@gmail.com
on 10 Dec 2012 at 8:52