//
pkg.gl
Category
google.golang.org/protobuf
encoding
protojson
package
1.36.5
Repository:
https://go.googlesource.com/protobuf
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
21
Dependents
4.6k
Files
1.7k SLOC
#
Functions
Format
Format formats the message as a multiline string.
Marshal
Marshal writes the given [proto.Message] in JSON format using default options.
Unmarshal
Unmarshal reads the given []byte into the given [proto.Message].
#
Structs
MarshalOptions
MarshalOptions is a configurable JSON format marshaler.
UnmarshalOptions
UnmarshalOptions is a configurable JSON format parser.