I have created a .json file, and need to read it and append some new information to it.
This is in JsonCpp library, and I have no issue creating the new information, but when I attempt to append to the .json file, I get a LogicError related message.
Here is the actual line causing problems:
json_obj.append(root);
root is the new information, json_obj is the read in from the .json file data.
Does anyone have any suggestions on how to properly handle this, as I have additional updates to the .json related to appending to perform.
You should create a minimal compileable example (even better if it's just using strings instead of working with files). And link the github or whatever to your library.
OP, why are you carefully choosing your words to provide the minimum information possible? Are you trying to deliberately waste our time and don't really care if your question gets answered?