How do I put an array of unsigned char* pointers into json #4281
-
If I have a array like this, I can do it well
But what to do if this is the case:
I can't directly assign it to json. I also can't convert it to a string first, because maybe arr[len] = {'\201','\234',...};. |
Beta Was this translation helpful? Give feedback.
Answered by
dingyaoyang
Jan 30, 2024
Replies: 1 comment
-
use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dingyaoyang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use
vector<unsigned char>