aboutsummaryrefslogtreecommitdiffstats
path: root/util/json.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.json: Accept empty arrays with whitespace (fixes #1782)Matthew Wild2022-11-041-5/+14
|
* util.json: Use util.iterators.sorted_pairs() in ordered modeMatthew Wild2018-09-211-21/+8
|
* util.json: Unescape surrogate pairsMatthew Wild2018-03-271-4/+5
|
* util: Various minor changes to please [luacheck]Kim Alvefur2017-11-101-4/+1
|
* util.json: Variable renaming to avoid shadowing [luacheck]Matthew Wild2016-03-101-14/+14
|
* net.websocket.frames, util.datetime, util.json, util.prosodyctl, ↵Matthew Wild2016-03-101-1/+0
| | | | util.rfc6724: Remove unused variables [luacheck]
* util.json: Fix encoding of json.null (bug introduced in bf1f09a5bcf7)Matthew Wild2016-03-041-1/+3
|
* util.json: Remove use of newproxyKim Alvefur2015-03-131-5/+2
|
* Remove all trailing whitespaceFlorian Zeitz2013-08-091-2/+2
|
* util.json: New, faster, stricter, more compliant JSON decoder. Now returns ↵Waqas Hussain2013-05-071-192/+155
| | | | nil,err instead of throwing errors on invalid input.
* util.json: Make setmetatable local.Waqas Hussain2013-05-061-1/+1
|
* util.json: Fix variable name typo which broke util.json when util.array was ↵Waqas Hussain2013-05-061-1/+1
| | | | missing.
* util.json: Optimize long string parsing.Waqas Hussain2013-05-051-5/+5
|
* util.json: New, improved, fixed codepoint to UTF-8 conversion.Waqas Hussain2013-04-231-26/+11
|
* util.json: Make encode(decode("[]"))=="[]".Waqas Hussain2013-04-231-2/+10
|
* util.json: Convert \uXXXX to UTF-8 when decodingMatthew Wild2013-04-061-1/+36
|
* util.json: Add json.encode_array() (thanks B)Matthew Wild2013-03-281-0/+5
|
* util.json: Added function encode_ordered(object).Waqas Hussain2012-01-181-6/+25
|
* util.json: Fix for single-line comments (thanks Norbert Kiesel)Matthew Wild2011-10-261-1/+1
|
* util.json: Fixed handling of truncated JSON.Waqas Hussain2011-06-021-0/+2
|
* util.json: Fixed a parse error caused by unexpected whitespace.Waqas Hussain2011-02-191-0/+2
|
* util.json: Initial commit.Waqas Hussain2010-12-271-0/+356