Files
fusionpbx/resources/install/scripts/resources/functions/lunajson.lua
Chris Black e7fae7587e add built in ability for microsoft bing speech to text (#1960)
* add built in ability for microsoft bing speech to text

* move json.lua to lower case and more error checking in record_message

* Replaced Creative Commons json.lua with lunajson.lua which is MIT license

https://github.com/grafi-tt/lunajson/blob/master/LICENSE
2016-11-03 16:11:21 -06:00

12 lines
440 B
Lua

local newdecoder = require 'resources.functions.lunajson.decoder'
local newencoder = require 'resources.functions.lunajson.encoder'
local sax = require 'resources.functions.lunajson.sax'
-- If you need multiple contexts of decoder and/or encoder,
-- you can require lunajson.decoder and/or lunajson.encoder directly.
return {
decode = newdecoder(),
encode = newencoder(),
newparser = sax.newparser,
newfileparser = sax.newfileparser,
}