jsonwrapper

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: MIT Imports: 1 Imported by: 27

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONWrapper

type JSONWrapper interface {
	Unmarshal(data []byte, v interface{}) error
	Marshal(v interface{}) ([]byte, error)
}

JSONWrapper provides an interface for json marshaling and unmarshaling operations

func NewDefaultJSONWrapper

func NewDefaultJSONWrapper() JSONWrapper

NewDefaultJSONWrapper returns an instance of defaultJSONWrapper

Jump to

Keyboard shortcuts

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