webmcp
diff framework/cgi-bin/webmcp.lua @ 176:8d7665e0d490
Load JSON library in WebMCP and automatically convert JSON documents in mondelefant-atom-connector
author | jbe |
---|---|
date | Fri Aug 01 22:17:08 2014 +0200 (2014-08-01) |
parents | 30391b40722f |
children |
line diff
1.1 --- a/framework/cgi-bin/webmcp.lua Fri Aug 01 21:54:45 2014 +0200 1.2 +++ b/framework/cgi-bin/webmcp.lua Fri Aug 01 22:17:08 2014 +0200 1.3 @@ -74,6 +74,9 @@ 1.4 -- load type system "atom" 1.5 atom = require 'atom' 1.6 1.7 +-- load JSON library 1.8 +json = require 'json' 1.9 + 1.10 -- load mondelefant atom connector 1.11 require 'mondelefant_atom_connector' 1.12