MCPcopy Create free account
hub / github.com/ElementsProject/lightning / json_get_member

Function json_get_member

common/json_parse_simple.h:76–81  ·  view source on GitHub ↗

Get top-level member. */

Source from the content-addressed store, hash-verified

74
75/* Get top-level member. */
76static inline const jsmntok_t *json_get_member(const char *buffer,
77 const jsmntok_t tok[],
78 const char *label)
79{
80 return json_get_membern(buffer, tok, label, strlen(label));
81}
82
83/* Get index'th array member. */
84const jsmntok_t *json_get_arr(const jsmntok_t tok[], size_t index);

Callers 15

get_chainhashFunction · 0.85
get_scid_arrayFunction · 0.85
test_query_channel_rangeFunction · 0.85
test_reply_channel_rangeFunction · 0.85
get_query_flags_arrayFunction · 0.85
mainFunction · 0.85
hook_extract_psbtFunction · 0.85
hook_extract_amountFunction · 0.85

Calls 1

json_get_membernFunction · 0.50

Tested by 15

get_chainhashFunction · 0.68
get_scid_arrayFunction · 0.68
test_query_channel_rangeFunction · 0.68
test_reply_channel_rangeFunction · 0.68
get_query_flags_arrayFunction · 0.68
mainFunction · 0.68
test_json_filterFunction · 0.68
json_peer_connectedFunction · 0.68
json_connectedFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68