-
Hi. If I use the following snippet: |
Beta Was this translation helpful? Give feedback.
Answered by
gregmarr
Jun 12, 2024
Replies: 1 comment 3 replies
-
That's not valid JSON. You want this if you want the value of
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When converting that JSON string to a C++ string, you need to escape both
"
and\
, or use a raw string literal.https://www.godbolt.org/z/q6b3nv4Md