This repository has been archived by the owner on Mar 25, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 154
Preserve double quotes around "yes" and "no" strings #319
Comments
Same for on/off. Ex: nginx annotation in k8s manifest file: however, serde 0.9.13 produces: which in our case ends up throwing an error, when we try to run
|
This was referenced Nov 28, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am having an issue with preserving string values of "yes" and "no" after converting from str -> yaml value -> (string/str). "yes" is not the same as yes (YAML version 1.1 interprets the latter as bool). Is there a setting or flag I can set to preserve the double quotes around strings yes and no, so they do not get interpreted as bools?
expected output file:
actual output file:
The text was updated successfully, but these errors were encountered: