docs: adds merge behavior documentation
[luajson.git] / lua / json.lua
blobb3e54005b5d9c3734a415b3a2d0f79ef81d07a67
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 local _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