Skip to content

Iterate through object keys #325

Open
@dandv

Description

@dandv

(Apologies if this is the wrong repo; landed here from https://github.com/SparkPost/sparkpost-api-documentation/blob/master/services/substitutions-reference.md)

Is there a way to iterate through object keys in the template language? For example, I want to output all keys in an object that have a non-zero value.

Thanks!

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