Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Value Iteration

Open
#970 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
data

Research direction

Start by reviewing the existing iteration mechanisms for array and object, then examine how value represents nested JSON data. The issue does not name files, tests, or an entry point. Done would require an agreed design for value_iterator behavior, including depth-first traversal and whether iterations return JSON Pointer and value-reference pairs.

Written by the indexing model from the issue text.

Description

I would like to start a discussion on having a class of value_iterator, which will be used to iterate over a value instance like visiting a tree in a depth-first manner.

Currently, we can iterate over array and object but I think a more general iterate functionality will be helpful for many applications. Also it would be nice that value supports generic iteration like other container classes.

I prefer each iteration to return a key-value pair of a JSON Pointer and value reference but I would like to ask your opinion regarding it and whether we can utilize the already implemented mechanisms/structures in the library.

Dominant language
C++
Stars
478
Forks
110
Avg merge
1d 17h
Merged PRs (30d)
4

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from boostorg/json

All issues in boostorg/json

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.