diff options
Diffstat (limited to 'json.h')
| -rw-r--r-- | json.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -233,5 +233,8 @@ void json_set_string(json_node *node, const char *str, size_t length); const char *json_get_number(json_node *node); void json_set_number(json_node *node, const char *number, size_t length); +/* Utility function used by json_get to automatically apply from_json to its result. */ +const char *from_json_cstring(const char *input, const char *funcname); + #endif |
