Software /
code /
prosody
Annotate
spec/json/pass4.json @ 13241:0419de4e4db1
mod_storage_sql: Pass variables as arguments instead of upvalues
Probably a workaround for the lack of argument passing when using xpcall
in Lua 5.1, no longer relevant.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 22 Jul 2023 15:22:54 +0200 |
parent | 12792:997f3ca90628 |
rev | line source |
---|---|
12792
997f3ca90628
util.json: Accept empty arrays with whitespace (fixes #1782)
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
1 { |
997f3ca90628
util.json: Accept empty arrays with whitespace (fixes #1782)
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
2 "one": [ |
997f3ca90628
util.json: Accept empty arrays with whitespace (fixes #1782)
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
3 |
997f3ca90628
util.json: Accept empty arrays with whitespace (fixes #1782)
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
4 ], |
997f3ca90628
util.json: Accept empty arrays with whitespace (fixes #1782)
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
5 "two": [], |
997f3ca90628
util.json: Accept empty arrays with whitespace (fixes #1782)
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
6 "three": [ ], |
997f3ca90628
util.json: Accept empty arrays with whitespace (fixes #1782)
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
7 "four": [ ] |
997f3ca90628
util.json: Accept empty arrays with whitespace (fixes #1782)
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
8 } |