ser

package
v0.0.0-...-147f0cf Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Marshal = func(obj interface{}) ([]byte, error) {
	return JsonMarshal(obj)
}

Marshal invokes the default serializer

View Source
var Unmarshal = func(data []byte, obj interface{}) error {
	return JsonUnmarshal(data, obj)
}

Unmarshal invokes the defaul deserializer

Functions

func JsonMarshal

func JsonMarshal(obj interface{}) ([]byte, error)

func JsonUnmarshal

func JsonUnmarshal(data []byte, obj 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