codecjson

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package codecjson uses stdlib json for libext

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Codec

type Codec struct{}

func (*Codec) Marshal

func (c *Codec) Marshal(v interface{}) ([]byte, error)

func (*Codec) NewDecoder

func (c *Codec) NewDecoder(r io.Reader) types.Decoder

func (*Codec) NewEncoder

func (c *Codec) NewEncoder(w io.Writer) types.Encoder

func (*Codec) Type

func (c *Codec) Type() arhatgopb.CodecType

func (*Codec) Unmarshal

func (c *Codec) Unmarshal(data []byte, out interface{}) error

Jump to

Keyboard shortcuts

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