summaryrefslogtreecommitdiff
path: root/upb/json/printer.h
diff options
context:
space:
mode:
Diffstat (limited to 'upb/json/printer.h')
-rw-r--r--upb/json/printer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/upb/json/printer.h b/upb/json/printer.h
index 857ae47..85b9b12 100644
--- a/upb/json/printer.h
+++ b/upb/json/printer.h
@@ -36,6 +36,8 @@ const upb_handlers *upb_json_printer_newhandlers(const upb_msgdef *md,
bool preserve_fieldnames,
const void *owner);
+/* Lazily builds and caches handlers that will push encoded data to a bytessink.
+ * Any msgdef objects used with this object must outlive it. */
upb_handlercache *upb_json_printer_newcache(bool preserve_proto_fieldnames);
#ifdef __cplusplus
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback