mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-07 04:03:49 +00:00
* 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
12 lines
440 B
Lua
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,
|
|
}
|