You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can't the object's name be printed by means of iterators (doc)?
From the docs:
for (auto it = j.begin(); it != j.end(); ++it)
{
std::cout << it.key() << " : " << it.value() << std::endl;
}
That appears to me as if by iterating over the top-level json object and then using the key() function on the iterator, you should be able to fetch the desired name 🤔
I hope he can output 'intake'.
Which function should I use to get the name of the object name?
The text was updated successfully, but these errors were encountered: