Skip to content

bug when using array and object under a key #8

@mehimanshupatil

Description

@mehimanshupatil

as mentioned in #7
This triggers TypeError:

test[0]=haha
test[0].ohno=oops

This silently eats the first value:

test[0]=haha
test.ohno=oops

gives:

  "test": {
    "ohno": "oops"
  }

whereas ideally it'd give:

  "test": {
    "0": "haha",
    "ohno": "oops"
  }

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