Versions in this module Expand all Collapse all v0 v0.0.2 Apr 15, 2024 Changes in this version + func ReparseUnrecognized(resolver Resolver, reflectMessage protoreflect.Message) error + type JSONMarshalerOption func(*jsonMarshaler) + func JSONMarshalerWithEmitUnpopulated() JSONMarshalerOption + func JSONMarshalerWithIndent() JSONMarshalerOption + func JSONMarshalerWithUseEnumNumbers() JSONMarshalerOption + func JSONMarshalerWithUseProtoNames() JSONMarshalerOption + type JSONUnmarshalerOption func(*jsonUnmarshaler) + func JSONUnmarshalerWithDisallowUnknown() JSONUnmarshalerOption + type Marshaler interface + Marshal func(message proto.Message) ([]byte, error) + func NewJSONMarshaler(resolver Resolver, options ...JSONMarshalerOption) Marshaler + func NewTxtpbMarshaler(resolver Resolver) Marshaler + func NewWireMarshaler() Marshaler + func NewYAMLMarshaler(resolver Resolver, options ...YAMLMarshalerOption) Marshaler + type Resolver interface + FindEnumByName func(enum protoreflect.FullName) (protoreflect.EnumType, error) + func CombineResolvers(resolvers ...Resolver) Resolver + func NewLazyResolver[F protodescriptor.FileDescriptor](fileDescriptors ...F) Resolver + func NewResolver[F protodescriptor.FileDescriptor](fileDescriptors ...F) (Resolver, error) + type Unmarshaler interface + Unmarshal func(data []byte, message proto.Message) error + func NewJSONUnmarshaler(resolver Resolver, options ...JSONUnmarshalerOption) Unmarshaler + func NewTxtpbUnmarshaler(resolver Resolver) Unmarshaler + func NewWireUnmarshaler(resolver Resolver) Unmarshaler + func NewYAMLUnmarshaler(resolver Resolver, options ...YAMLUnmarshalerOption) Unmarshaler + type YAMLMarshalerOption func(*yamlMarshaler) + func YAMLMarshalerWithEmitUnpopulated() YAMLMarshalerOption + func YAMLMarshalerWithIndent() YAMLMarshalerOption + func YAMLMarshalerWithUseEnumNumbers() YAMLMarshalerOption + func YAMLMarshalerWithUseProtoNames() YAMLMarshalerOption + type YAMLUnmarshalerOption func(*yamlUnmarshaler) + func YAMLUnmarshalerWithPath(path string) YAMLUnmarshalerOption + func YAMLUnmarshalerWithValidator(validator protoyaml.Validator) YAMLUnmarshalerOption