-
I'm trying out the optional "ignore comments" argument to json::parse(), and it doesn't seem to be working -- it's discarding the json. and my calling code looks like this: Without the comments in the input JSON it works fine, with the comments, i get a "discarded" result. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
If you enable exceptions, what is the error message? |
Beta Was this translation helpful? Give feedback.
-
I enabled exceptions, got the same result. Returned json object is either
null or discarded
…On Wed, Aug 16, 2023 at 2:18 PM Niels Lohmann ***@***.***> wrote:
If you enable exceptions, what is the error message?
—
Reply to this email directly, view it on GitHub
<#4113 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEJS6VDD7ZBCK2RTNSN66S3XVUFHBANCNFSM6AAAAAA3S3CSPY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Find Bob's blog at http://www.bobzblog.com
|
Beta Was this translation helpful? Give feedback.
I figured it out, the code that was reading the text from a disk file was filtering out newlines, so ... own-goal