Back to

Package codec

Latest Go to latest

The latest major version is .

Published: Jan 20, 2020 | License: MIT | Module:


type JSON

type JSON struct {

JSON is impl of encoding.Codec

func (JSON) Marshal

func (j JSON) Marshal(v interface{}) (out []byte, err error)

Marshal is json marshal

func (JSON) Name

func (j JSON) Name() string

Name is name of JSON

func (JSON) Unmarshal

func (j JSON) Unmarshal(data []byte, v interface{}) (err error)

Unmarshal is json unmarshal

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier