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

Developer

API Reference

IJSONTREE_PARSEJSON()

Brew Release
Brew MP 1.0.2
Description
This function parses the given JSON string into a corresponding JSValue.
Params
me
[]:
Pointer to the IJSONTree Interface object
cpszJSON
[]:
JSON string
nSize
[]:
size of JSON string
Interface
Prototype
  •    int IJSONTree_ParseJSON(IJSONTree *me, const char* cpszJSON, int nSize,
                               JSValue **ppjv);
        
Return
  • AEE_SUCCESS: on success IJSONTree_EBADFORMAT: if JSON is badly formed IJSONTree_EBADTYPE: if JSON is badly formed/typed