-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
return json objects from functions #1172
Copy link
Copy link
Closed
Labels
kind: questionsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
Description
Activity
Metadata
Metadata
Assignees
Labels
kind: questionsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
Given a function like json json_add(json& j, std::string name), which given a json object, adds another object to it and returns it, I expect that if I call:
The last call to json_add would add another object on an existing one created before, to create a hierarchy, but instead nothing happens, is there a way achieve this programatically?
Expected: