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
Hi,
Is it it save to reuse json_tokener object across (non-concurrent, but successive) to json_tokener_parse_ex() or one must issue json_tokener_free() between each call to json_tokener_parse_ex()?
regards
The text was updated successfully, but these errors were encountered:
No, and it doesn't make sense to have one for most object types since you can't change them. For a json_type_object or json_type_array you can just remove all of its elements and remove it from its containing object (if any) to do roughly the equivalent of "reset". However, if your goal is performance I suspect you'll find this to be of limited impact, especially for object trees of any size, and you efforts are probably best spent elsewhere.
Hi,
Is it it save to reuse json_tokener object across (non-concurrent, but successive) to json_tokener_parse_ex() or one must issue json_tokener_free() between each call to json_tokener_parse_ex()?
regards
The text was updated successfully, but these errors were encountered: