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
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
Log in to comment and vote
Comments2
Indigo Spacetime
Jul 5
Awesome, thanks man!
@levelsio
Jun 27
Fixed!!