easyjsonttest

package
v0.0.0-...-0b8e3a9 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicInfo

type BasicInfo struct {
	Name string `json:"name"`
	Age  int    `json:"age"`
}

func (BasicInfo) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (BasicInfo) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*BasicInfo) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*BasicInfo) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type EmployeeStruct

type EmployeeStruct struct {
	BasicInfo BasicInfo `json:"basic_info"`
	JobInfo   JobInfo   `json:"job_info"`
}

func (EmployeeStruct) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (EmployeeStruct) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*EmployeeStruct) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EmployeeStruct) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type JobInfo

type JobInfo struct {
	Skills []string `json:"skills"`
}

func (JobInfo) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (JobInfo) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*JobInfo) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*JobInfo) UnmarshalJSON

func (v *JobInfo) 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