json

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package json implements a JSON COnfog Codec.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSON

type JSON struct{}

JSON is the JSON Config Codec.

func (*JSON) Decode

func (j *JSON) Decode(data []byte, config interface{}) error

Decode implements Codec.Decode.

func (*JSON) Encode

func (j *JSON) Encode(config interface{}) ([]byte, error)

Encode implements Codec.Encode.

Jump to

Keyboard shortcuts

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