Yams
Yams copied to clipboard
Empty strings are encoded as empty objects.
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:
string_thing: ''
I just encountered this as well. Our current workaround it to replace all empty strings in our YAML file with a single space.