Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Format ¶
Format formats the message as a multiline string. This function is only intended for human consumption and ignores errors. Do not depend on the output being stable. Its output will change across different builds of your program, even when using the same version of the protobuf module.
func Marshal ¶
Marshal writes the given proto.Message in JSON format using permissive options that avoid errors due to schema drift. Do not depend on the output being stable. Its output will change across different builds of your program, even when using the same version of the protobuf module.
Types ¶
type MarshalOptions ¶
type MarshalOptions = protojson.MarshalOptions
type UnmarshalOptions ¶
type UnmarshalOptions = protojson.UnmarshalOptions
Click to show internal directories.
Click to hide internal directories.