serialize

package
v1.0.194 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const UnserializableObjectMaxLen = int64(10 * 1024 * 1024 * 1024)

Variables

This section is empty.

Functions

func Marshal

func Marshal(value interface{}) ([]byte, error)

func MarshalBool

func MarshalBool(value bool) []byte

func MarshalMap

func MarshalMap(value interface{}) ([]byte, error)

func MarshalNil

func MarshalNil() []byte

func MarshalNumber

func MarshalNumber(value interface{}) []byte

func MarshalSlice

func MarshalSlice(value interface{}) ([]byte, error)

func MarshalString

func MarshalString(value string) []byte

func UnMarshal

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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