Re: std.json: SkipWhitespace = false ?

2012-09-20 Thread Peter Sommerfeld
Sean Kelly wrote: It sounds like what you really want is pretty printing from toJSON. It's really not too hard to add, and I'd like it too. I think this will have to wait for the new std.json, whenever we get that though. Agreed! Where can the version be seen which are on review ? Peter

Re: std.json: SkipWhitespace = false ?

2012-09-20 Thread Sean Kelly
On Sep 19, 2012, at 1:07 PM, Peter Sommerfeld wrote: > Hi Everyone! > > I'm new to :D and have a small problem with std.json. > > If I use parseJSON() or toJSON() all whitespaces are > removed. I would like it to have them preserved for > better readability for users. > > In std.json.d various

Re: std.json: SkipWhitespace = false ?

2012-09-19 Thread Peter Sommerfeld
Jesse Phillips wrote: Peter Sommerfeld wrote: Hi Everyone! I'm new to :D and have a small problem with std.json. If I use parseJSON() or toJSON() all whitespaces are removed. I would like it to have them preserved for better readability for users. In std.json.d various functions contain SkipW

Re: std.json: SkipWhitespace = false ?

2012-09-19 Thread Jesse Phillips
On Wednesday, 19 September 2012 at 20:06:31 UTC, Peter Sommerfeld wrote: Hi Everyone! I'm new to :D and have a small problem with std.json. If I use parseJSON() or toJSON() all whitespaces are removed. I would like it to have them preserved for better readability for users. In std.json.d vario

std.json: SkipWhitespace = false ?

2012-09-19 Thread Peter Sommerfeld
Hi Everyone! I'm new to :D and have a small problem with std.json. If I use parseJSON() or toJSON() all whitespaces are removed. I would like it to have them preserved for better readability for users. In std.json.d various functions contain SkipWhitespace as parameter but that is not propagate