transcoder

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder interface {
	Decode(from *string, to any) (err error)
}

type Encoder

type Encoder interface {
	Encode(from any) (to *string, err error)
}

type Json

type Json struct{}

func NewJson

func NewJson() *Json

func (*Json) Decode

func (j *Json) Decode(from *string, to any) error

func (*Json) Encode

func (j *Json) Encode(from any) (to *string, err error)

Jump to

Keyboard shortcuts

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