Confusing Parse Error 302 #3526
-
Writing an application for parsing JSON in string form coming via TCP. This is the error for multiple different JSON messages. Normally this error makes sense but this one is obviously confusing. I tried enabling JSON_DIAGNOSTICS to see where it was popping but this causes a seg fault. Don't know what other context would help here considering the puzzling error... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
There are only two locations where this error message could come from. Are you using Meanwhile, I'll keep staring at the code to see why this might be happening. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
There are only two locations where this error message could come from. Are you using
nlohmann::json
or are you customizing thebasic_json
template in any way? Have you defined any custom type conversions? Which version of the library are you using?Meanwhile, I'll keep staring at the code to see why this might be happening.