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

Developer

API Reference

IJSONTREE_OBJECTGET()

Brew Release
Brew MP 1.0.2
Description
This function, given an object and a key, retrieves the corresponding pair matching the key.
Params
me
[]:
pointer to the IJSONTree Interface object
pjvObj
[]:
JSValue object
cpszKey
[]:
key value for lookup
pjsp
[]:
resulting JSPair
Interface
Prototype
  •    int IJSONTree_ObjectGet(IJSONTree *me, JSValue *pjvObj, const char *cpszKey,
                               JSPair* pjsp);
     
Return
  • AEE_SUCCESS : on success IJSONTree_EBADTYPE : if pjvObj is not an object AEE_ENOSUCH : if key is not found