-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Labels
Description
Suppose one wants to insert iteratively into a nested field, for example:
for (auto& i : strings) {
j["Outer level"]["Inner level[i]"]=match[i];
}pushback() does not do this and one cannot use a string type as index, i.e, j["Outer Level"][str] doesn't work - is there any way to do this?
Many thanks!
Reactions are currently unavailable