-
Notifications
You must be signed in to change notification settings - Fork 13
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
fix: emit empty scalars as "" instead of "~" #37
Conversation
93223f9
to
b02bb60
Compare
Previously attempting to deserialize the value of `foo` in: foo: failed when a mapping, sequence or unit was expected. Note that this fix depends on a related bug fix in yaml-rust2: Ethiraric/yaml-rust2#37. So that: foo: null or foo: ~ can still result in errors when a mapping/sequence/unit is expected.
Previously attempting to deserialize the value of `foo` in: foo: failed when a mapping, sequence or unit was expected. Note that this fix depends on a related bug fix in yaml-rust2: Ethiraric/yaml-rust2#37. So that: foo: null or foo: ~ can still result in errors when a mapping/sequence/unit is expected.
Previously attempting to deserialize the value of `foo` in: foo: failed when a mapping, sequence or unit was expected. Note that this fix depends on a related bug fix in yaml-rust2: Ethiraric/yaml-rust2#37. So that: foo: null or foo: ~ can still result in errors when a mapping/sequence/unit is expected.
Previously attempting to deserialize the value of `foo` in: foo: failed when a mapping, sequence or unit was expected. Note that this fix depends on a related bug fix in yaml-rust2: Ethiraric/yaml-rust2#37. So that: foo: null or foo: ~ can still result in errors when a mapping/sequence/unit is expected.
Previously attempting to deserialize the value of `foo` in: foo: failed when a mapping, sequence or unit was expected. Note that this fix depends on a related bug fix in yaml-rust2: Ethiraric/yaml-rust2#37. So that: foo: null or foo: ~ can still result in errors when a mapping/sequence/unit is expected.
Thank you for your contribution! ❤️ |
You're welcome! Could you publish a new version so that I can contribute the related fixes to marked-yaml? Sidenote: It might be worth adding a note about the missing serde support to the README:
|
I fixed the parsing of empty scalars in rust-yaml, see Ethiraric/yaml-rust2#37.
I fixed the parsing of empty scalars in rust-yaml, see Ethiraric/yaml-rust2#37.
I fixed the parsing of empty scalars in rust-yaml, see Ethiraric/yaml-rust2#37.
Fixes #36.