harningt / luajson

JSON parser/encoder for Lua Parses JSON using LPEG for speed and flexibility. Depending on parser/encoder options, various values are preserved as best as possible.

This URL has Read+Write access

luajson / rockspecs / luajson-scm-1.rockspec
100644 35 lines (34 sloc) 0.917 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package = "luajson"
version = "scm-1"
source = {
url = "git://repo.or.cz/luajson.git"
}
description = {
summary = "customizable JSON decoder/encoder",
detailed = [[
LuaJSON is a customizable JSON decoder/encoder using
LPEG for parsing.
]],
homepage = "http://gitrepo.or.cz/w/luajson.git",
maintainer = "Thomas Harning <harningt@gmail.com>",
license = "MIT/X11"
}
dependencies = {
"lua >= 5.1",
"lunit >= 0.4",
"lpeg >= 0.8.1"
}
build = {
type = "module",
modules = {
json = "src/json.lua",
["json.util"] = "src/json/util.lua",
["json.encode"] = "src/json/encode.lua",
["json.decode"] = "src/json/decode.lua",
["json.decode.array"] = "src/json/decode/array.lua",
["json.decode.number"] = "src/json/decode/number.lua",
["json.decode.object"] = "src/json/decode/object.lua",
["json.decode.string"] = "src/json/decode/strings.lua",
["json.decode.util"] = "src/json/decode/util.lua"
}
}