codec

package
v0.0.0-...-c69a265 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register()

Types

type JSON

type JSON struct {
	jsonpb.Marshaler
	jsonpb.Unmarshaler
}

func (JSON) Marshal

func (j JSON) Marshal(v interface{}) (out []byte, err error)

func (JSON) Name

func (_ JSON) Name() string

func (JSON) Unmarshal

func (j JSON) Unmarshal(data []byte, v interface{}) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL