Closed GoogleCodeExporter closed 8 years ago
It's by design to let user override toString() to return their customized
encoding for any object not in the following mapping list:
http://code.google.com/p/json-simple/wiki/MappingBetweenJSONAndJavaEntities
You can use something like below to make it a JSON string:
json.put("birthday", new java.util.Date().toString())
Original comment by fangyid...@gmail.com
on 4 Jul 2012 at 5:47
Original issue reported on code.google.com by
wjw465...@gmail.com
on 27 Jun 2012 at 7:58