Software /
code /
prosody
Annotate
spec/json/fail1.json @ 11481:b2f9782497dd
util.datamapper: Don't include empty unwrapped arrays
Since there is no way to distinguish an empty such array from a
zero-length array. Dropping it seems like the least annoying thing to
do.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 24 Mar 2021 00:48:02 +0100 |
parent | 8236:4878e4159e12 |
rev | line source |
---|---|
8236
4878e4159e12
Port tests to the `busted` test runner
Waqas Hussain <waqas20@gmail.com>
parents:
diff
changeset
|
1 "A JSON payload should be an object or array, not a string." |