diff options
Diffstat (limited to 'src/jansson.h')
-rw-r--r-- | src/jansson.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/jansson.h b/src/jansson.h index b17e8f4..82709eb 100644 --- a/src/jansson.h +++ b/src/jansson.h @@ -289,6 +289,11 @@ int json_unpack(json_t *root, const char *fmt, ...); int json_unpack_ex(json_t *root, json_error_t *error, size_t flags, const char *fmt, ...); int json_vunpack_ex(json_t *root, json_error_t *error, size_t flags, const char *fmt, va_list ap); +/* sprintf */ + +json_t *json_sprintf(const char *fmt, ...); +json_t *json_vsprintf(const char *fmt, va_list ap); + /* equality */ |