Skip to content

Array posted without keys #75

Open
@digixweb

Description

@digixweb

I noticed when posting an array with unaltered keys in order: 0 => somevalue1, 1 => somevalue2 the index doesn't seemed to be posted with it, so for example it outputs: ["somevalue1", "somevalue2"]. Only, if the keys are not in order: 0 => somevalue1, 2 => somevalue2, the keys are posted with the array, like this: {"0":"somevalue1","2":" somevalue2" }. However when altering the ordered sequence of keys in the database back and forth, does change the behaviour and send the keys alongside again. Not sure what is going on, but it would be great if it would send the keys with it at all times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions