wangxiaowei0303 / rapidjson

Automatically exported from code.google.com/p/rapidjson
MIT License
0 stars 0 forks source link

Option to set PrettyWriter to print array on a single line #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, I really like this lib but I am facing an issue. 

I have in my json files a huge array of doubles that, when written with 
PrettyWriter, it is displayed with each item separated by a newline. 

I'd like to set PrettyWriter in a way that I can print that array on a single 
line. Is that possible?

Thanks 

Original issue reported on code.google.com by libero.s...@gmail.com on 7 Mar 2012 at 1:34

GoogleCodeExporter commented 9 years ago

Original comment by milo...@gmail.com on 9 Mar 2012 at 4:52

GoogleCodeExporter commented 9 years ago
If it is just for that array but not the others, it will be quite difficult.
Is it possible to print all array without newline?

Original comment by milo...@gmail.com on 1 Jul 2014 at 1:09