MCPcopy Create free account
hub / github.com/coronalabs/corona / CoronaLuaPropertyToJSON

Function CoronaLuaPropertyToJSON

librtt/Corona/CoronaLua.cpp:331–462  ·  view source on GitHub ↗

CoronaLuaPropertyToJSON Get the top item on the Lua stack and put a JSON style representation in the output buffer recursing as necessary to handle tables and userdata proxies.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

DumpObjectPropertiesMethod · 0.50
PropertiesToJSONMethod · 0.50

Calls 15

lua_isnumberFunction · 0.85
lua_tonumberFunction · 0.85
lua_tobooleanFunction · 0.85
lua_isstringFunction · 0.85
EscapeStringForJSONFunction · 0.85
lua_pushnilFunction · 0.85
lua_nextFunction · 0.85
lua_getstackFunction · 0.85
lua_pushvalueFunction · 0.85
lua_getinfoFunction · 0.85
lua_isuserdataFunction · 0.85
lua_pushstringFunction · 0.85

Tested by

no test coverage detected