Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

IDL sequence in JSON

Sequences of any 8 or 16-bit primitive type are mapped to string. Sequences of any other type are mapped to a table.
IDL type JSON type
sequence<char> string
sequence<octet> string
sequence<char> string
sequence<short> string
sequence<unsigned short> string
sequence<long> Array<number>
For example:

typedef sequence<long> LngSeq; 
is mapped as:
[1,2,3]