Commit graph

16 commits

Author SHA1 Message Date
Matthew Wild
df618247d3 util.json: Fix encoding of json.null (bug introduced in bf1f09a5bcf7) 2016-03-04 22:27:04 +00:00
Kim Alvefur
2114d7e5d8 util.json: Remove use of newproxy 2015-03-13 21:11:33 +01:00
Florian Zeitz
1d833bb807 Remove all trailing whitespace 2013-08-09 17:48:21 +02:00
Waqas Hussain
d960ec8fb7 util.json: New, faster, stricter, more compliant JSON decoder. Now returns nil,err instead of throwing errors on invalid input. 2013-05-07 10:42:44 -04:00
Waqas Hussain
39229adf0b util.json: Make setmetatable local. 2013-05-06 19:43:59 -04:00
Waqas Hussain
eed78bab7e util.json: Fix variable name typo which broke util.json when util.array was missing. 2013-05-06 19:42:54 -04:00
Waqas Hussain
8098be4eb1 util.json: Optimize long string parsing. 2013-05-05 15:02:33 -04:00
Waqas Hussain
0cba3cd260 util.json: New, improved, fixed codepoint to UTF-8 conversion. 2013-04-23 15:55:49 -04:00
Waqas Hussain
8cf79c1fbe util.json: Make encode(decode("[]"))=="[]". 2013-04-23 14:41:52 -04:00
Matthew Wild
d64f65005c util.json: Convert \uXXXX to UTF-8 when decoding 2013-04-06 12:20:31 +01:00
Matthew Wild
533a5899e3 util.json: Add json.encode_array() (thanks B) 2013-03-28 09:31:07 -04:00
Waqas Hussain
d59d8e6325 util.json: Added function encode_ordered(object). 2012-01-18 08:54:26 +05:00
Matthew Wild
383eb2f3bf util.json: Fix for single-line comments (thanks Norbert Kiesel) 2011-10-26 18:55:06 -04:00
Waqas Hussain
e1ba26dafe util.json: Fixed handling of truncated JSON. 2011-06-02 05:36:15 +05:00
Waqas Hussain
b40e6b9dd9 util.json: Fixed a parse error caused by unexpected whitespace. 2011-02-19 06:47:32 +05:00
Waqas Hussain
75e3837663 util.json: Initial commit. 2010-12-27 19:37:04 +05:00