gildas-lormeau/JSONVue

New line characters inside strings are not respected

rishibajekal opened this issue · 7 comments

Strings that have new line characters do not show properly. Note that the actual JSON response below contains "\n" characters but the JSONView version of the response does not.

Actual JSON:

{
    "ReviewText": "Date: 9/20/14\nProduct Reviewed: Zoomer Dino\n\nShipping time: on time\n\nPackaging: Cardboard box and plastic wrapping.\n\n"
}

As viewed in JSONView:

{
    "ReviewText": "Date: 9/20/14 Product Reviewed: Zoomer Dino Shipping time: on time Packaging: Cardboard box and plastic wrapping."
}
cemo commented

+1

+1

+1

+1

+1