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

Developer

API Reference

JSONPARSER_ARRAYNEXT()

Brew Release
Brew MP 1.0.2
Description
Given the enumeration state, reads the value id at the current state and updates the enumeration state to next value or end.
Params
pj
[]:
JSON context
pst
[]:
current enumeration state. On success, is updated to next value or end
pidValue
[]:
Value ID
Interface
Prototype
  •    int JSONParser_ArrayNext (JSONParser *pj, JSONEnumState *pst, JSONID *pidValue);
    
Return
  • JSONPARSER_SUCCESS : success -- pidValue is updated with relevant ID JSONPARSER_ENOMORE : if no more items to enumarate JSONPARSER_ERROR : for all other errors