diff options
| author | Joey Adams | 2010-07-06 04:51:48 +0000 |
|---|---|---|
| committer | Joey Adams | 2010-07-06 04:51:48 +0000 |
| commit | c93ed31284c3f9335d2744c4db2f54165ad264f4 (patch) | |
| tree | 7c474e5e62daaba22d15f6281d45b427e71fdaee /json.h | |
| parent | b153d76442ba1ef1237c4cc36f491b3aff7b8510 (diff) | |
* Added json_get
* Affirmed (with a trivial test) that json_path returns its results breadth-first
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 |
