SparkPost / SparkPost/developers.sparkpost.com
Iterate through object keys
Nobody has claimed this yet.
- Dominant language
- API Blueprint
- Stars
- 18
- Forks
- 9
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 3
Description
(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!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked substitutions-reference.md page and review how the template language handles object values. Determine whether iterating object keys and filtering non-zero values is supported, then update the documentation with the confirmed behavior or an example; done means the page answers this use case clearly.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100