webmcp

view framework/env/convert/__init.lua @ 202:eceb6f56e9ed

Use luaL_len and lua_gettable to read argument passed to json.array{...}
author jbe
date Mon Aug 25 20:00:01 2014 +0200 (2014-08-25)
parents 9fdfb27f8e67
children
line source
1 convert._type_symbol_mappings = setmetatable({}, { __mode = "k" })
3 convert.register_type(atom.boolean, "boolean")
4 convert.register_type(atom.string, "string")
5 convert.register_type(atom.integer, "integer")
6 convert.register_type(atom.number, "number")
7 convert.register_type(atom.fraction, "fraction")
8 convert.register_type(atom.date, "date")
9 convert.register_type(atom.timestamp, "timestamp")
10 convert.register_type(atom.time, "time")

Impressum / About Us