I think attributes must be a separate array itself, otherwise this is impossible to parse array, and user will be forced to use strops() to find attr:
I mean this:
'attr:status'=>'success',
must be like
[attr:] => array(
[status] => 'success'
)
and this:
must be:
[attr:] => array(
[id] => 987654321
)
but this has correct format already:
'attr:'=>array(
'geo-coded'=>TRUE,
'lat'=>'0.0000',
'lon'=>'-0.0000'
),
regardless attributes data is array already or not, it must always have array format. otherwise this is impossible to parse array, and user will be forced to use strops() to find attributes.
I think attributes must be a separate array itself, otherwise this is impossible to parse array, and user will be forced to use strops() to find attr:
I mean this:
'attr:status'=>'success',must be like
and this:
must be:
but this has correct format already:
regardless attributes data is array already or not, it must always have array format. otherwise this is impossible to parse array, and user will be forced to use strops() to find attributes.