Skip to content

Accessing YAML values using JSON notation? #1209

Open
@theletterf

Description

@theletterf

I'd like to access YAML file using JSON path notation. For example, these lines in a YAML file of the EDOT docs hold version numbers: https://github.com/elastic/opentelemetry/blob/main/docs/_config.yml#L83-L92

Is there a way of accessing those values using a notation such as {{ site.edot_versions.collector }}?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions