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

Escaped quotes (\") cause a syntax error #1062

Closed
1 task done
ghost opened this issue Aug 17, 2021 · 2 comments
Closed
1 task done

Escaped quotes (\") cause a syntax error #1062

ghost opened this issue Aug 17, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 17, 2021

Official FAQ

  • I have checked the official FAQ.

Ventoy Version

1.0.50

What about latest release

Yes. I have tried the latest release, but the bug still exist.

BIOS Mode

UEFI Mode

Partition Style

GPT

Disk Capacity

64GB

Image file checksum (if applicable)

No response

Image file download link (if applicable)

No response

What happened?

Escaping quotes (") in "ventoy.json" causes a syntax error when trying to boot Ventoy. I want to get double quotes in my image alias configuration. That is, I want codenames like "Odin", "Hirsute Hippo", etc. to be enclosed in double quotes. I tried using the above method, but I got a syntax error when booting to Ventoy. VS Code did not complain about the escaped quotes & there were no syntax errors in the ".json" file. Are there other ways to include double quotes in JSON strings?

@ghost ghost changed the title Escaping quotes (\") causes a syntax error Escaped quotes (\") cause a syntax error Aug 17, 2021
@ventoy
Copy link
Owner

ventoy commented Aug 17, 2021

@ghost
Copy link
Author

ghost commented Aug 17, 2021

Everything works fine now. Thanks!
20210817_180235

@ghost ghost closed this as completed Aug 17, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant