json

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package json is used for marshalling and unmarshalling

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidRequest = errors.New("Invalid request ")
)

errors

Functions

This section is empty.

Types

type Serializer

type Serializer struct{}

Serializer is a empty struct

func (Serializer) Decode

func (js Serializer) Decode(data []byte, v interface{}) error

Decode - Unmarshal unmarshaling data

func (Serializer) Encode

func (js Serializer) Encode(v interface{}) ([]byte, error)

Encode - Marshal marshaling data

Jump to

Keyboard shortcuts

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