API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IJSONTREE_GETUINT()

Brew Release
Brew MP 1.0.2
Description
This function retrieves the unsigned integer value from the JSValue of JSONNumber type. The number must be in the range of C "unsigned int" type
Params
me
[]:
pointer to the IJSONTree Interface object
pjv
[]:
JSValue of type JSONNumber
pu
[]:
filled with number
Interface
Prototype
  •    int IJSONTree_GetUInt(IJSONTree *me, JSValue *pjv, unsigned int *pu);
        
Return
  • AEE_SUCCESS: on success IJSONTree_EBADTYPE: if JSValue is wrong type IJSONTree_EOVERFLOW: if number is not in valid range of C "unsigned int" type IJSONTree_EFAILED: failed to parse or other internal error