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

Developer

API Reference

IJSONTREE_GETSTRING()

Brew Release
Brew MP 1.0.2
Description
This function retrieves the string value from the given JSValue of JSONString type.
Params
me
[]:
pointer to the IJSONTree Interface object
pjv
[]:
JSValue of type JSONString
cppsz
[]:
filled with a pointer to JSON string
pnLen
[]:
length of the cppsz
Interface
Prototype
  •    int IJSONTree_GetString(IJSONTree *me, JSValue *pjv, const char **cppsz, int *pnLen);
        
Return
  • AEE_SUCCESS: on success IJSONTree_EBADTYPE: if JSValue is wrong type