"Format" introducing newline and breaks the JSON
A JSON viewer plugin for notepad++
Brought to you by:
kapilratnani
Steps for reproduction:
This is a sanitized part of a JSON response, which hopefully helps to reproduce the problem.
"Show JSON Viewer" works fine as long as the testdata is one line.
The "Format JSON" action, introduces a new line in my case, which breaks parsing on a second "Show JSON Viewer" call.
Oneliner testdoc:
[{"value": "{\"username\":\"\",\"userId\":-1}"}]
format, which leads to an parse error on the line-break, the value in this example is one continuous string:
[{ "value": "{\"username\":\"\", \"userId\":-1}" }]
P.S.: I tried to format the JSON parts, but it seems that I'm not very successful with that :(