We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
Having json_object_set_int is great since I don't have to json_object_object_del() first but if I just want to inc the value I have to:
json_object_set_int(key_jobj, json_object_get_int(key_jobj) + 1);
Having json_object_inc_int() and json_object_inc_int64() would greatly optimize this when a interger object is beeing used as a counter.
The text was updated successfully, but these errors were encountered:
Sure, sounds good to me. A pull request would be welcome.
Sorry, something went wrong.
Merge pull request #363 from jvijtiuk/integer_addition
91662a5
Issue #338, add json_object_add_int functions
No branches or pull requests
Hi,
Having json_object_set_int is great since I don't have to json_object_object_del() first but if I just want to inc the value I have to:
json_object_set_int(key_jobj, json_object_get_int(key_jobj) + 1);
Having json_object_inc_int() and json_object_inc_int64() would greatly optimize this when a interger object is beeing used as a counter.
The text was updated successfully, but these errors were encountered: