Skip to content

incorrect attribute data array format #4

Description

@nimasdj

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:

    'attr:id'=>987654321,

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions