10000 Yaml with colon at the beginning of a value won't parse · Issue #404 · dtolnay/serde-yaml · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Mar 25, 2024. It is now read-only.
This repository was 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

Description

@joe2xyz

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0