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