test

package
v0.0.0-...-29339cd Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type A

type A struct {
	Str string
	I   int32
	F   float64
	M   map[string]int
	XX  []int64
}

func (A) MarshalEasyJSON

func (v A) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (A) MarshalJSON

func (v A) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*A) UnmarshalEasyJSON

func (v *A) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*A) UnmarshalJSON

func (v *A) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type B

type B struct {
	AA A
	SA []string
}

func (B) MarshalEasyJSON

func (v B) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (B) MarshalJSON

func (v B) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*B) UnmarshalEasyJSON

func (v *B) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*B) UnmarshalJSON

func (v *B) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type V

type V struct {
	S  string
	BB B
}

func (V) MarshalEasyJSON

func (v V) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (V) MarshalJSON

func (v V) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*V) UnmarshalEasyJSON

func (v *V) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*V) UnmarshalJSON

func (v *V) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

Jump to

Keyboard shortcuts

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