MCPcopy Create free account
hub / github.com/crawl/crawl / json_append_element

Function json_append_element

crawl-ref/source/json.cc:607–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

605}
606
607void json_append_element(JsonNode *array, JsonNode *element)
608{
609 ASSERT(array->tag == JSON_ARRAY);
610 ASSERT(element->parent == nullptr);
611
612 append_node(array, element);
613}
614
615void json_prepend_element(JsonNode *array, JsonNode *element)
616{

Callers 7

_species_metadata_arrayFunction · 0.85
_job_recommended_speciesFunction · 0.85
_job_metadata_arrayFunction · 0.85
_combo_arrayFunction · 0.85
_branch_info_arrayFunction · 0.85
parse_arrayFunction · 0.85

Calls 1

append_nodeFunction · 0.85

Tested by

no test coverage detected