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

Developer

API Reference

JSONPARSER_GETUINT()

Brew Release
Brew MP 1.0.2
Description
Given JSONNumber, retrieve its unsigned integer value. The underlying number must be an unsigned integer in the range of C "unsigned int" data type
Params
pj
[]:
JSON context
id
[]:
JSONNumber ID
pu
[]:
filled with unsigned integer value at id
Interface
Prototype
  •    int JSONParser_GetUInt(JSONParser *pj, JSONID id, unsigned int *pu);
                            
Return
  • JSONPARSER_SUCCESS : on success JSONPARSER_EOVERFLOW : if number is out of range of C "unsigned int" type otherwise JSONPARSER_ERROR