add a blobmsg-to-json function
[project/libubox.git] / blobmsg.h
index 8594add..c64cedb 100644 (file)
--- a/blobmsg.h
+++ b/blobmsg.h
@@ -139,4 +139,6 @@ static inline int blobmsg_buf_init(struct blob_buf *buf)
        return blob_buf_init(buf, BLOBMSG_TYPE_TABLE);
 }
 
+char *blobmsg_format_json(struct blob_attr *attr);
+
 #endif