9 points · by jastr · 5y ago · 4 comments
Input:
{"somekey": "value", "someother": "value,value,value"}
Output:
{
"somekey": "value",
"someother": "value,
value,
value"
}Seems like the problem is with commas being converted to ,\n regardelss of them being inside a valid string.
Thanks
Pretty print json with single quotes or None or anything that looks like json, like python dictionaries/arrays or anything that PHP can spit out.