json

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 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 MarshalAnyToString added in v0.0.29

func MarshalAnyToString(v interface{}) (string, error)

MarshalAnyToString marshals v into a string.

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