marshallers

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CsvMarshaller added in v0.6.0

type CsvMarshaller struct{}

func (*CsvMarshaller) Marshall added in v0.6.0

func (marshaller *CsvMarshaller) Marshall(from any) (to string, err error)

type CsvUnmarshaller added in v0.6.0

type CsvUnmarshaller struct{}

func (*CsvUnmarshaller) Unmarshall added in v0.6.0

func (unmarshaller *CsvUnmarshaller) Unmarshall(out any, in string) error

type JsonMarshaller

type JsonMarshaller struct{}

func (*JsonMarshaller) Marshall

func (marshaller *JsonMarshaller) Marshall(from any) (to string, err error)

type JsonUnmarshaller

type JsonUnmarshaller struct{}

func (*JsonUnmarshaller) Unmarshall

func (unmarshaller *JsonUnmarshaller) Unmarshall(out any, in string) error

type Marshaller

type Marshaller interface {
	Marshall(from any) (to string, err error)
}

type Unmarshaller

type Unmarshaller interface {
	Unmarshall(out any, in string) error
}

type YamlMarshaller added in v0.6.0

type YamlMarshaller struct{}

func (*YamlMarshaller) Marshall added in v0.6.0

func (marshaller *YamlMarshaller) Marshall(from any) (to string, err error)

type YamlUnmarshaller added in v0.6.0

type YamlUnmarshaller struct{}

func (*YamlUnmarshaller) Unmarshall added in v0.6.0

func (unmarshaller *YamlUnmarshaller) Unmarshall(out any, in string) error

Jump to

Keyboard shortcuts

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