Merge pull request #23 from fperrad/patch-2
[luajson.git] / lua / json.lua
blobbfbbaff9d2d36953aef8a11e2436e50cb1282726
1 --[[
2 Licensed according to the included 'LICENSE' document
3 Author: Thomas Harning Jr <harningt@gmail.com>
4 ]]
5 local decode = require("json.decode")
6 local encode = require("json.encode")
7 local util = require("json.util")
9 local _G = _G
11 _ENV = nil
13 local json = {
14 _VERSION = "1.3",
15 _DESCRIPTION = "LuaJSON : customizable JSON decoder/encoder",
16 _COPYRIGHT = "Copyright (c) 2007-2012 Thomas Harning Jr. <harningt@gmail.com>",
17 decode = decode,
18 encode = encode,
19 util = util
22 _G.json = json
24 return json