aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-11-04 12:26:10 +0000
committerMatthew Wild <mwild1@gmail.com>2022-11-04 12:26:10 +0000
commitd4daf40caa518a89e51222e6e1d9c230db02839a (patch)
treefa24a2af020d0ecdd22c6782417f8f8e8d179ecd /spec
parent246d797f8104930ea962c6f85fc380e7a7b4e423 (diff)
downloadprosody-d4daf40caa518a89e51222e6e1d9c230db02839a.tar.gz
prosody-d4daf40caa518a89e51222e6e1d9c230db02839a.zip
util.json: Accept empty arrays with whitespace (fixes #1782)
Diffstat (limited to 'spec')
-rw-r--r--spec/json/pass4.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/json/pass4.json b/spec/json/pass4.json
new file mode 100644
index 00000000..595026ad
--- /dev/null
+++ b/spec/json/pass4.json
@@ -0,0 +1,8 @@
+{
+ "one": [
+
+ ],
+ "two": [],
+ "three": [ ],
+ "four": [ ]
+}