fangyidong / json-simple

A simple Java toolkit for JSON. You can use json-simple to encode or decode JSON text.
Apache License 2.0
746 stars 338 forks source link

No Pretty String output option #136

Open jredfox opened 5 years ago

jredfox commented 5 years ago

there is no pretty string output into the text file thus allowing no new lines to be created and a non etiable json file slapped into your file system.

Jugen commented 5 years ago

You can try SimpleJSON which if I'm not mistaken is a drop in replacement for this library and can do pretty output.

jredfox commented 5 years ago

does that except file input stream and not a string value. String values are limited to integer max value characters and even less with unicode.