You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If yajl_complete_parse fails, you don't necessarily have the last buffer passed to yajl_parse around with which to call yajl_get_error.
I don't see a documented way to get an error message from yajl_get_error without a buffer, but from a cursory reading of the code, it seems like the following will work:
yajl_get_error(handle, false, NULL, 0);
Is this properly supported? Can it be added to the documentation?
The text was updated successfully, but these errors were encountered:
eatnumber1
changed the title
yajl_gen_string after yajl_complete_parse
yajl_get_error after yajl_complete_parse
Nov 5, 2019
If yajl_complete_parse fails, you don't necessarily have the last buffer passed to yajl_parse around with which to call yajl_get_error.
I don't see a documented way to get an error message from yajl_get_error without a buffer, but from a cursory reading of the code, it seems like the following will work:
Is this properly supported? Can it be added to the documentation?
The text was updated successfully, but these errors were encountered: