Skip to main content

Bug: Empty arrays converted to empty objects

An empty array [] gets converted to an empty object {}, when it should be kept as an array. E.g.:

// Input:
[]
// Output:
{}

// Input:
{"foo": []}
// Output:
{"foo": {}}

Dennis

Status: Completed2 comments

Log in to comment and vote

Comments2

  • Indigo Spacetime

    •

    Jul 5

    Awesome, thanks man!

  • @levelsio

    Team•

    Jun 27

    Fixed!!