serialization

package
v0.0.0-...-6e64f46 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSON

type JSON struct{}

JSON implements the rabbids.Serializer interface.

func (*JSON) Marshal

func (j *JSON) Marshal(v interface{}) ([]byte, error)

Marshal returns the data in json format or an error.

func (*JSON) Name

func (j *JSON) Name() string

Name returns the name of the serialization used. This value is used as the ContentType value on the message.

Jump to

Keyboard shortcuts

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