| 21308 | } |
| 21309 | |
| 21310 | static const char *budget_doc_str(yyjson_doc *doc, const char *key) { |
| 21311 | return doc ? yyjson_get_str(yyjson_obj_get(yyjson_doc_get_root(doc), key)) : NULL; |
| 21312 | } |
| 21313 | |
| 21314 | static int budget_doc_int(yyjson_doc *doc, const char *key, int missing) { |
| 21315 | yyjson_val *val = doc ? yyjson_obj_get(yyjson_doc_get_root(doc), key) : NULL; |