Skip to content

Support jq x[] operation #285

Open
Open
@CatherineF-dev

Description

@CatherineF-dev

Want to use cel instead of jq to process json/yaml files. However, found jq x[] is a little more elegant.

jq: [.status.sub[].active | {active: .}]
cel: [x.status.sub.map(y, {"active": x.status.sub[y].active})]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions