Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "json"
Name is the name registered for the json codec.
Variables ¶
View Source
var ( // MarshalOptions is a configurable JSON format marshaller. MarshalOptions = protojson.MarshalOptions{ EmitUnpopulated: true, } // UnmarshalOptions is a configurable JSON format parser. UnmarshalOptions = protojson.UnmarshalOptions{ DiscardUnknown: true, } )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.