Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching from compressed json string to pretty print mode looses quotes for forward slashes #104

Open
bysbhah opened this issue Apr 19, 2021 · 1 comment

Comments

@bysbhah
Copy link

bysbhah commented Apr 19, 2021

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

@bysbhah bysbhah changed the title switching from compressed json string to pretty print mode loses quotes for forward slashes Switching from compressed json string to pretty print mode looses quotes for forward slashes Apr 19, 2021
@user21760
Copy link

Related to #78 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants