package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Packages

# Functions

DecodeMessage decodes protocol message specified as its fully qualified name, and it's marshaled data, into a protoutil.Message.
JSONBMarshalToMessage initializes the target protocol message with the data in the input JSONB object.
MessageToJSON converts a protocol message into a JSONB object.
NewJSONMessageFromFileDescriptor decodes a protobuf message from binary to JSON based on the provided protoreflect.FileDescriptor.
NewMessage creates a new protocol message object, given its fully qualified name, or an alias previously registered via RegisterShorthands.
RegisterShorthands registers a shorthand alias for a given message type which can be used by NewMessage to look up that message type, when it fails to find a message type with that name in the fully-qualified global registry first.
ShouldRedact returns true if the implementers of jsonpb.JSONPBMarshaller interface should redact the returned data.

# Structs

FmtFlags is a struct describing how MessageToJSON ought to format its output.