JSON-Viewer
JSON-Viewer copied to clipboard
Switching from compressed json string to pretty print mode looses quotes for forward slashes
Hello and at first, thank you for the great plugin. It helps me a lot every day.
i found the following string:
[{"FullName":"C:\\123467756\\Z","LastWriteTimeUtc":"\/Date(1600790697130)\/"},{"FullName":"C:\\123467756\\Z\\B","LastWriteTimeUtc":"\/Date(1618852147285)\/"}]
if converted using the option: "JSON Viewer"::"Format Json"
looses the "\
" in front of the Date String. The result is:
[
{
"FullName": "C:\\123467756\\Z",
"LastWriteTimeUtc": "/Date(1600790697130)/"
},
{
"FullName": "C:\\123467756\\Z\\B",
"LastWriteTimeUtc": "/Date(1618852147285)/"
}
]
i am having wrong expectations o is that something not supposed to happen?
If it is a bug, i would kindly ask for a fix.
Best Regards, Rob
Related to https://github.com/kapilratnani/JSON-Viewer/issues/78#issuecomment-965619710