-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
Hello Niels,
Is it possible to erase/delete nested objects using a similar technique as you've created for adding nested objects inside other objects?
j["answer"]["everything"] = 42;
Is there an equivalent way to do j.erase(["answer"]["everything"]; (ie, doesn't work) ?
This j["answer"]["everything"] = 42; is neat for adding nested objects inside other objects but so far I'm unable to find a corresponding function in your library to delete/erase nested objects. Is there a way to do this?
My apologies if I've missed something obvious. Hoping you can help me with these two questions. Much thanks. Greg
Reactions are currently unavailable
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
