| 28 | namespace { |
| 29 | |
| 30 | utility::JsonTree *add_node(utility::JsonTree *node, const nlohmann::json &new_entry_data) { |
| 31 | |
| 32 | auto p = node->insert(std::next(node->begin(), node->size()), new_entry_data); |
| 33 | return &(*p); |
| 34 | } |
| 35 | |
| 36 | std::string path_from_node(utility::JsonTree *node) { |
| 37 | if (!node->parent()) |
no test coverage detected