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

Developer

API Reference

IJSONTREE_ARRAYGET()

Brew Release
Brew MP 1.0.2
Description
Given an array and a position, this function provides the corresponding JSValue
Params
me
[]:
pointer to the IJSONTree Interface object
pjvArray
[]:
JSValue array
nPos
[]:
zero based array index to lookup value
ppjv
[]:
filled with the JSValue at the given position
Interface
Prototype
  •    int IJSONTree_ArrayGet(IJSONTree *me, JSValue *pjvArray, int nPos, JSValue** ppjv);
    
Return
  • AEE_SUCCESS: on success and ppjv is filled with corresponding JSValue IJSONTree_EBADTYPE: if pjvArray is not an array IJSONTree_EOUTOFRANGE: if nPos in out of range