json

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicSerializer

type BasicSerializer struct {
	Serializable interface{}
}

implementation

func NewBasicSerializer

func NewBasicSerializer(serializable interface{}) BasicSerializer

func (BasicSerializer) Get

func (bs BasicSerializer) Get() interface{}

func (BasicSerializer) Serialize

func (bs BasicSerializer) Serialize(w io.Writer) error

func (BasicSerializer) Unserialize

func (bs BasicSerializer) Unserialize(r io.Reader) error

type Serializer

type Serializer interface {
	Serialize(io.Writer) error
	Unserialize(io.Reader) error
}

Jump to

Keyboard shortcuts

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