json

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(m Message) ([]byte, error)

func MarshalAny

func MarshalAny(m interface{}) ([]byte, error)

func Unmarshal

func Unmarshal(data []byte, v proto.Message) error

Unmarshal unmarshals data bytes into v.

func UnmarshalAny

func UnmarshalAny(data []byte, v interface{}) error

UnmarshalAny unmarshals data bytes into v.

Types

type Message

type Message = protoreflect.ProtoMessage

Jump to

Keyboard shortcuts

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