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

Developer

API Reference

IJSONTREE_GETDOUBLE()

Brew Release
Brew MP 1.0.2
Description
This function retrieves the floating point value from the given JSValue of JSONNumber type.
Params
me
[]:
pointer to the IJSONTree Interface object
pjv
[]:
JSValue of type JSONNumber
Interface
Prototype
  •    int IJSONTree_GetDouble(IJSONTree *me, JSValue *pjv, double *pd);
        
Return
  • AEE_SUCCESS: on success IJSONTree_EBADTYPE: if JSValue is wrong type IJSONTree_EOVERFLOW: if number is not in valid range of C "double" type IJSONTree_EFAILED: failed to parse or other internal error