In Json, arbitrary anounts of white space can appear between tokens, including line feed.�� If this is ���painful��� for your tests, then it���s unlikely to be the only thing that is.�� If you are comparing JSON irms *as* JSON, then linefeeds won���t matter .�� If you are comparing JSON items as strings, there are so many ways that different strrings can represent the same value -infinitely many, in fact - that linefeeds are the least of your worries.
What are you actually doing in your tests?
Hi
I would like to know if there is a way to generate JSON without lf?
toJsonStringPretty: is generating lf and this is painful for tests.
S.