Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeValue ¶
func DecodeValue(L *lua.LState, value interface{}) lua.LValue
DecodeValue converts the value to a Lua value.
This function only converts values that the encoding/json package decodes to. All other values will return lua.LNil.
func Preload ¶
func Preload(L *lua.LState)
Preload adds json to the given Lua state's package.preload table. After it has been preloaded, it can be loaded using require:
local json = require("json")
internal fork from https://github.com/layeh/gopher-json/
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.