|
Scarab
A thin, game-agnostic 2D engine host built on the sunlight tile-map engine
|
Generic, game-agnostic JSON <-> Lua bridge. Converts any JSON document into an equivalent Lua table, with no knowledge of any particular config schema. More...
#include <luajsonapi.h>
Static Public Member Functions | |
| static void | Register (lua_State *pLuaState) |
| Register the JSON bridge Lua-callable functions. | |
Generic, game-agnostic JSON <-> Lua bridge. Converts any JSON document into an equivalent Lua table, with no knowledge of any particular config schema.
Wraps nlohmann::json.
|
static |
Register the JSON bridge Lua-callable functions.
| pLuaState | Lua state to be used by engine call. |