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

Developer

API Reference

JSONPARSER_ARRAYENUMINIT()

Brew Release
Brew MP 1.0.2
Description
Initializes the enumeration state (pstEnum) to point to the first value of the array at the given JSON ID.
Params
pj
[]:
JSON context
idArray
[]:
JSONArray ID
pstEnum
[]:
Enumeration state is updated on success
Interface
Prototype
  •    int JSONParser_ArrayEnumInit (JSONParser *pj, JSONID idArray,
                                     JSONEnumState *pstEnum);
    
Return
  • JSONPARSER_SUCCESS on success, otherwise JSONPARSER_ERROR