It doesn't work too well wish some actual valid jsons:<p>Input:<p>{"somekey": "value", "someother": "value,value,value"}<p>Output:<p>{<p><pre><code> "somekey": "value",
"someother": "value,
value,
value"
</code></pre>
}<p>Seems like the problem is with commas being converted to ,\n regardelss of them being inside a valid string.