[heka] Json encoding from Lua script

2013-12-20 Thread briche arnaud
Hi, I'm writing decoder in Lua and I set the payload as Json in order for it to be indexed in Elasticsearch later; but it seems that the cjson module you provide only allow to decode. What can I do to be able to encode to json from a Lua script ? -- -- Arnaud Briche Développeur web / Préstata

Re: [heka] Json encoding from Lua script

2013-12-20 Thread Michael Trinkala
hema1") Trink - Original Message - > From: "briche arnaud" > To: heka@mozilla.org > Sent: Friday, December 20, 2013 5:53:20 AM > Subject: [heka] Json encoding from Lua script > Hi, > I'm writing decoder in Lua and I set the payload as Json in order for it to &