Export to GitHub

json-simple - issue #9

Encoder escapes forward slashes


Posted on Nov 3, 2009 by Quick Giraffe

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?

Comment #1

Posted on Nov 3, 2009 by Quick Giraffe

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.

Comment #2

Posted on Nov 3, 2009 by Helpful Panda

Merging it to #8.

Thanks.

Status: Duplicate

Labels:
Type-Defect Priority-Medium