Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Yaml with colon at the beginning of a value won't parse #404

Open
joe2xyz opened this issue Jan 2, 2024 · 0 comments
Open

Yaml with colon at the beginning of a value won't parse #404

joe2xyz opened this issue Jan 2, 2024 · 0 comments

Comments

@joe2xyz
Copy link

joe2xyz commented Jan 2, 2024

Dear Serde maintainers,

Thank you for the library. It's fantastic.

When I use serde_yaml::from_str, the following YAML won't work:

- a:
    b:
      c:
        - f: [:this_WILL_fail]
        - f: [':this_will_NOT_fail']
      e:
        - { g: :this_WILL_fail }
        - { g: ':this_will_NOT_fail' }

But It should. You can for example try to convert it by cat file.yml | remarshal -if yaml -of json and remarshal will convert it.

Thank you.

Joe

(first I posted this in serde-rs serde-rs/serde#2667 but I was asked to post it here)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant