Skip to content

Remove backslashes '\' in the result of json.dump() #3374

Answered by zliucd
zliucd asked this question in Q&A
Discussion options

You must be logged in to vote

It's solved by using json::array() to append a list of json objects and then dump.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@zliucd
Comment options

@falbrechtskirchinger
Comment options

Comment options

You must be logged in to vote
1 reply
@isaiahbank
Comment options

Answer selected by zliucd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants