-
Notifications
You must be signed in to change notification settings - Fork 139
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
Empty strings are encoded as empty objects. #253
Comments
I just encountered this as well. Our current workaround it to replace all empty strings in our YAML file with a single space. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When encoding an empty string, Yams should add empty single quotes to indicate an empty string. It currently just prints the empty string which in the resulting YAML is actually the encoding of an empty JSON object.
Current behavior:
string_thing:
Desired behavior:
The text was updated successfully, but these errors were encountered: