aboutsummaryrefslogtreecommitdiff
path: root/src/jansson.def
diff options
context:
space:
mode:
authorNathaniel McCallum <npmccallum@redhat.com>2017-01-26 09:46:48 +0100
committerNathaniel McCallum <npmccallum@redhat.com>2017-01-26 16:16:24 +0100
commitb900967f6fbfae098ced9dfeab7b2b51e1a22c0a (patch)
treec58c08d1d918756cfb57b5fd8d20345eeb410fa6 /src/jansson.def
parent746c2c3a996a7f6e80bd19fe3de438637e6363e1 (diff)
downloadjansson-b900967f6fbfae098ced9dfeab7b2b51e1a22c0a.zip
jansson-b900967f6fbfae098ced9dfeab7b2b51e1a22c0a.tar.gz
jansson-b900967f6fbfae098ced9dfeab7b2b51e1a22c0a.tar.bz2
Implement json_dumpb()
This function encodes the json_t object to a pre-allocated buffer. It compliments the already existing json_loadb() function and is useful for parsing JSON-RPC (among other protocols) when sent over datagram sockets. Signed-off-by: Nathaniel McCallum <npmccallum@redhat.com>
Diffstat (limited to 'src/jansson.def')
-rw-r--r--src/jansson.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jansson.def b/src/jansson.def
index c43eb07..55cb117 100644
--- a/src/jansson.def
+++ b/src/jansson.def
@@ -48,6 +48,7 @@ EXPORTS
json_object_key_to_iter
json_object_seed
json_dumps
+ json_dumpb
json_dumpf
json_dump_file
json_dump_callback