-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
JsonObject.dump() #1732
Copy link
Copy link
Closed
Labels
kind: bugstate: needs more infothe author of the issue needs to provide more detailsthe author of the issue needs to provide more detailsstate: stalethe issue has not been updated in a while and will be closed automatically soon unless it is updatedthe issue has not been updated in a while and will be closed automatically soon unless it is updated
Description
Activity
Metadata
Metadata
Assignees
Labels
kind: bugstate: needs more infothe author of the issue needs to provide more detailsthe author of the issue needs to provide more detailsstate: stalethe issue has not been updated in a while and will be closed automatically soon unless it is updatedthe issue has not been updated in a while and will be closed automatically soon unless it is updated
Hi
the problem is when we use dump() method, when it return the string literal from the JsonObject, JsonObject will be cleaned and initialized with random values!
so if i do something like this:
std::cout<<JsonObject.dump()<<endl; //printed :{"A":{"B":"7+NNf&&8Nf!","C":"12345678913456"}} std::cout<<JsonObject.dump()<<endl; //printed : nothing or some random characters