json

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 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 MarshalToString added in v0.1.1

func MarshalToString(v Message) (string, error)

func Unmarshal

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

Unmarshal unmarshals data bytes into v.

func UnmarshalFromReader added in v0.1.1

func UnmarshalFromReader(r io.Reader, m Message) error

func UnmarshalFromString added in v0.1.1

func UnmarshalFromString(str string, m Message) error

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