Provide access to json implementation
Allow configuring/overriding the base implementation
This commit is contained in:
parent
8ea5bafee2
commit
7589ab6e37
@ -8,6 +8,7 @@
|
||||
|
||||
local implementation = dofile('json.lua')
|
||||
local err
|
||||
json.implementation = implementation
|
||||
|
||||
function implementation.assert(condition, message)
|
||||
if not condition then
|
||||
|
Loading…
Reference in New Issue
Block a user