-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Allow aeson data types to be used with lua. -- -- This package provides instances to push and receive any datatype -- encodable as JSON to and from the Lua stack. @package hslua-aeson @version 0.3.0.1 -- | Glue to hslua for aeson values. -- -- This provides a StackValue instance for aeson's -- Value type. The following conventions are used: -- -- module Foreign.Lua.Aeson -- | Create a new lua state suitable for use with aeson values. This -- behaves like newstate in hslua, but initializes the -- _NULL global. That variable is used to encode null values. registerNull :: Lua () instance Foreign.Lua.Types.ToLuaStack.ToLuaStack Data.Scientific.Scientific instance Foreign.Lua.Types.FromLuaStack.FromLuaStack Data.Scientific.Scientific instance Foreign.Lua.Types.ToLuaStack.ToLuaStack a => Foreign.Lua.Types.ToLuaStack.ToLuaStack (Data.Vector.Vector a) instance Foreign.Lua.Types.FromLuaStack.FromLuaStack a => Foreign.Lua.Types.FromLuaStack.FromLuaStack (Data.Vector.Vector a) instance (GHC.Classes.Eq a, Data.Hashable.Class.Hashable a, Foreign.Lua.Types.ToLuaStack.ToLuaStack a, Foreign.Lua.Types.ToLuaStack.ToLuaStack b) => Foreign.Lua.Types.ToLuaStack.ToLuaStack (Data.HashMap.Base.HashMap a b) instance (GHC.Classes.Eq a, Data.Hashable.Class.Hashable a, Foreign.Lua.Types.FromLuaStack.FromLuaStack a, Foreign.Lua.Types.FromLuaStack.FromLuaStack b) => Foreign.Lua.Types.FromLuaStack.FromLuaStack (Data.HashMap.Base.HashMap a b) instance Foreign.Lua.Types.ToLuaStack.ToLuaStack Data.Aeson.Types.Internal.Value instance Foreign.Lua.Types.FromLuaStack.FromLuaStack Data.Aeson.Types.Internal.Value