Hi, In my case I considered that if we add whitespaces in the JSON result then it should be specified where to add them. Also most JSON dumps I have encountered do not have whitespaces in them.
Thank you. Yours sincerely, Riyafa On 12 June 2016 at 20:52, Preston Carman <[email protected]> wrote: > How should we print JSON results? JSON ignores whitespace, yet adding > some to the result can make if more readable. Do you think we should > leave whitespace out of our result for add some for readability? > > Example without whitespace: > > {"software":"VXQuery","version":0.7,"contributors":["Riyafa","Menaka","Chirstina"]} > > Example with whitespace: > { "software" : "VXQuery", "version" : 0.7, "contributors" : [ > "Riyafa", "Menaka", "Chirstina" ] } > > Thoughts? > -- Riyafa Abdul Hameed Undergraduate, University of Moratuwa Email: [email protected] Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/> <http://facebook.com/riyafa.ahf> <http://lk.linkedin.com/in/riyafa> <http://twitter.com/Riyafa1>
