boostorg / boostorg/json

Value Iteration

Ouverte
#970 5 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C++
Étoiles
479
Forks
110
Merge moyen
10 j 3 h
PR mergées (30 j)
5

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.