26 lines
		
	
	
		
			560 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			560 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| --[[
 | |
| 	Licensed according to the included 'LICENSE' document
 | |
| 	Author: Thomas Harning Jr <harningt@gmail.com>
 | |
| ]]
 | |
| package.path = package.path .. ";lpeg/?.lua"
 | |
| local decode = require("json.decode")
 | |
| local encode = require("json.encode")
 | |
| local util = require("json.util")
 | |
| 
 | |
| local _G = _G
 | |
| 
 | |
| local _ENV = nil
 | |
| 
 | |
| local json = {
 | |
| 	_VERSION = "1.3.4",
 | |
| 	_DESCRIPTION = "LuaJSON : customizable JSON decoder/encoder",
 | |
| 	_COPYRIGHT = "Copyright (c) 2007-2014 Thomas Harning Jr. <harningt@gmail.com>",
 | |
| 	decode = decode,
 | |
| 	encode = encode,
 | |
| 	util = util
 | |
| }
 | |
| 
 | |
| _G.json = json
 | |
| 
 | |
| return json
 |