Hi, I've got a dict which contains an array of number as the value for the key, e.g.
{
"11000004" : [ 1, 4 ],
"11000911" : [ 18, 1 ],
"11000161" : [ 1464, 1 ],
"11000171" : [ 1465, 1 ],
"11000321" : [ 3, 1 ],
....
}
I'm trying to walk through the dict and then process the number list for each entry. Have the walking done and retrieving the value as a t_object, but then not sure what to do at that point.. Any help? thx
hashtab_getkeys( m_p_sysex_dict->d_hashtab, &num_keys, &keys );
for( int i = 0; i < num_keys; i++ ) {
t_symbol *key = keys[ i ];
t_object *p_val = nullptr;
hashtab_lookup( m_p_sysex_dict->d_hashtab, keys[ i ], &p_val );
if ( p_val ) {
// how do I get the array of numbers here?
}