mjson
mjson copied to clipboard
confusing parse return value
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(...)