catekr / json-simple

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

Encoder escapes forward slashes #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Minor issue: JSON encoder adds a backslash before every "/" in the string.
While JSON spec *allows* to escape "/", it's not required, and escaping it
reduces readability of the encoded data, and unnecessarily increases the
size of the encoded string.

Could you consider not escaping the forward slash?

Original issue reported on code.google.com by igor.n.n...@gmail.com on 3 Nov 2009 at 12:24

GoogleCodeExporter commented 8 years ago
This is a duplicate of #8. Don't know how I missed the original :(. I don't 
think I
can close it myself. Sorry about it. 

Original comment by igor.n.n...@gmail.com on 3 Nov 2009 at 12:28

GoogleCodeExporter commented 8 years ago
Merging it to #8.

Thanks.

Original comment by fangyid...@gmail.com on 3 Nov 2009 at 12:33