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

to_string should quote special strings #39

Closed
favonia opened this issue Jun 21, 2020 · 0 comments · Fixed by #47
Closed

to_string should quote special strings #39

favonia opened this issue Jun 21, 2020 · 0 comments · Fixed by #47

Comments

@favonia
Copy link
Contributor

favonia commented Jun 21, 2020

Currently, strings such as "true", "false", "null", "on", "1.0"... are not properly quoted when converted back to YAML scalars, and thus deserialization cannot recover these strings correctly.

I can make a PR to fix of_json, but it would conflict with PR #38, and thus I wish to learn the fate of that PR first.

@favonia favonia changed the title to_json is not a left inverse of of_json to_string should quote special strings Jun 28, 2020
@avsm avsm closed this as completed in #47 Aug 4, 2021
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

Successfully merging a pull request may close this issue.

1 participant