diff --git a/README.md b/README.md index 01e6ff9..8e9b72d 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Du benötigst **Lua 5.2+**, eine aktive **Redis-Instanz** und die folgenden **Lu * luasocket * luasec * multipart-post -* lua-cjson +* dkjson * lpeg * redis-lua * fakeredis diff --git a/miku/utilities.lua b/miku/utilities.lua index 09dd337..33a56cb 100644 --- a/miku/utilities.lua +++ b/miku/utilities.lua @@ -8,7 +8,8 @@ http = require('socket.http') https = require('ssl.https') socket = require('socket') URL = require('socket.url') -json = require('cjson') +json = require('dkjson') +pcall(json.use_lpeg) serpent = require("serpent") bindings = require('miku.bindings') redis = (loadfile "./miku/redis.lua")()