package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Nov 8, 2024
License: BSD-2-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
UseProtoNames bool `mapstructure:"UseProtoNames"`
EmitUnpopulated bool `mapstructure:"emitUnpopulated"`
EmitDefaultValues bool `mapstructure:"emitDefaultValues"`
}
New creates a new JSON encoder.
Type resolver is used to resolve types of messages and can be nil in which case the default resolver is used.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.