MCPcopy Create free account
hub / github.com/defold/defold / json_cfg_decode_array_with_array_mt

Function json_cfg_decode_array_with_array_mt

engine/script/src/luacjson/lua_cjson.c:365–372  ·  view source on GitHub ↗

Configures how to decode arrays */

Source from the content-addressed store, hash-verified

363
364/* Configures how to decode arrays */
365static int json_cfg_decode_array_with_array_mt(lua_State *l)
366{
367 json_config_t *cfg = json_arg_init(l, 1);
368
369 json_enum_option(l, 1, &cfg->decode_array_with_array_mt, NULL, 1);
370
371 return 1;
372}
373
374/* Configures JSON encoding buffer persistence */
375static int json_cfg_encode_keep_buffer(lua_State *l)

Callers

nothing calls this directly

Calls 2

json_arg_initFunction · 0.85
json_enum_optionFunction · 0.85

Tested by

no test coverage detected