jsonwrapper

package
v2.0.18 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 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