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

Developer

API Reference

IJSONTREE_CREATESTRING()

Brew Release
Brew MP 1.0.2
Description
This function creates an JSValue to represent a string in utf8 format. The type of this value is JSONString.
Params
me
[]:
pointer to the IJSONTree Interface object
cpsz
[]:
string to be stored
nSize
[]:
size of the cpsz string
ppjv
[]:
filled with the new JSValue object
Interface
Prototype
  •    int IJSONTree_CreateString(IJSONTree *me, const char *cpsz, int nSize, JSValue **ppjv);
        
Return
  • Returns AEE_SUCCESS on success or any of the declared error values