Fix comment on upb_JsonEncode.

PiperOrigin-RevId: 562830310
pull/13858/head
Protobuf Team Bot 1 year ago committed by Copybara-Service
parent d6c1170096
commit cd4b6ea830
  1. 4
      upb/upb/json/encode.h

@ -53,8 +53,8 @@ enum {
}; };
/* Encodes the given |msg| to JSON format. The message's reflection is given in /* Encodes the given |msg| to JSON format. The message's reflection is given in
* |m|. The symtab in |symtab| is used to find extensions (if NULL, extensions * |m|. The DefPool in |ext_pool| is used to find extensions (if NULL,
* will not be printed). * extensions will not be printed).
* *
* Output is placed in the given buffer, and always NULL-terminated. The output * Output is placed in the given buffer, and always NULL-terminated. The output
* size (excluding NULL) is returned. This means that a return value >= |size| * size (excluding NULL) is returned. This means that a return value >= |size|

Loading…
Cancel
Save