MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / json_set_token_error

Function json_set_token_error

LuaSTGPlus/LuaExtensions/cjson4lua/lua_cjson.c:880–886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

878}
879
880static void json_set_token_error(json_token_t *token, json_parse_t *json,
881 const char *errtype)
882{
883 token->type = T_ERROR;
884 token->index = json->ptr - json->data;
885 token->value.string = errtype;
886}
887
888static void json_next_string_token(json_parse_t *json, json_token_t *token)
889{

Callers 3

json_next_string_tokenFunction · 0.85
json_next_number_tokenFunction · 0.85
json_next_tokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected