jsonwrapper

package
v0.0.0-...-78da9c4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 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 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