summaryrefslogtreecommitdiff
path: root/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/JSON.hs
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2023-02-23 11:22:50 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2023-03-13 13:23:43 +0100
commit0f7653cd10deeeeb646809f9210a46087ff6e4c7 (patch)
treeda76bee01808a9adc2f2d481501cd5a3adc62016 /pandoc-lua-engine/src/Text/Pandoc/Lua/Module/JSON.hs
parent7916940c23f68037a8579b2d3076abd269578233 (diff)
Switch to hslua-2.3
Diffstat (limited to 'pandoc-lua-engine/src/Text/Pandoc/Lua/Module/JSON.hs')
-rw-r--r--pandoc-lua-engine/src/Text/Pandoc/Lua/Module/JSON.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/JSON.hs b/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/JSON.hs
index 00cf9a100..a21635329 100644
--- a/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/JSON.hs
+++ b/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/JSON.hs
@@ -42,6 +42,7 @@ documentedModule = Module
, moduleFields = fields
, moduleFunctions = functions
, moduleOperations = []
+ , moduleTypeInitializers = []
}
--
@@ -58,6 +59,7 @@ fields =
null :: LuaError e => Field e
null = Field
{ fieldName = "null"
+ , fieldType = "userdata"
, fieldDescription = "Value used to represent the `null` JSON value."
, fieldPushValue = pushValue Aeson.Null
}