Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Yaml parser can't parse JSON #18968

Closed
Closed
@kelunik

Description

@kelunik

According to http://www.yamllint.com/ the following is a valid .yml file.

storage: /etc/acme
server: letsencrypt
certificates: [
    {
        "paths": {
            "/tmp": ["docs.example.org", "git.example.org"]
        }
    }
]

Instead of parsing successfully, the parser throws an exception.

Malformed inline YAML string [ at line 3 (near "certificates: [")

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions