MichaelJamesParsons / json-simple

Automatically exported from code.google.com/p/json-simple
Apache License 2.0
0 stars 0 forks source link

Support serialization of arrays #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. It'd be nice if JSONValue.writeJSONString() and JSONValue.toJSONString() 
handled arrays.  Right 
now it'll serialize Lists, but an array is serialized by calling toString() on 
the array.

What version of the product are you using? On what operating system?
Using the latest version 1.1

Please provide any additional information below.
I've attached a patch that works with arrays.

Original issue reported on code.google.com by saxon.da...@gmail.com on 4 Dec 2009 at 7:26

Attachments:

GoogleCodeExporter commented 9 years ago
Ah, I see that issue 7 is the same request, although the change to 
JSONValue.writeJSONString() is what I need 
most.

Original comment by saxon.da...@gmail.com on 4 Dec 2009 at 7:27

GoogleCodeExporter commented 9 years ago
I accidentally filed this as a defect instead of an enhancement.  Sorry!

Original comment by saxon.da...@gmail.com on 4 Dec 2009 at 7:48

GoogleCodeExporter commented 9 years ago
How do I unsubscribe from this? I don't even have this starred

Original comment by eliseos...@gmail.com on 5 Dec 2009 at 3:05

GoogleCodeExporter commented 9 years ago
Saxon, don't worry about it and I'll mark it as a duplicated enhancement. And I 
am
really appreciated for your work.

Eliseosoto, the issue is posted to the discussion group automatically so I 
guess you
receive this because you subscribed the discussion group. You might want to 
disable
receiving Email from the group or choose to receive digest instead. Sorry for 
the
confusing.

Original comment by fangyid...@gmail.com on 7 Dec 2009 at 5:22