mjson icon indicating copy to clipboard operation
mjson copied to clipboard

confusing parse return value

Open hyansuper opened this issue 2 years ago • 0 comments

mjson_get_XXX(...) return 0 or -1 for "not found", I suggest all use -1. or better, return true on "found" and false on "not found", so these parser function can be used in if(...)

hyansuper avatar Nov 14 '23 13:11 hyansuper