testex

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2021 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 A

type A struct {
	A int
	B float64
}

func (*A) BlaName

func (a *A) BlaName() string

func (*A) UnmarshalJSONTypeName

func (a *A) UnmarshalJSONTypeName() string

type AasList added in v0.0.1

type AasList []TestInt1

func (AasList) MarshalJSON added in v0.0.1

func (obj AasList) MarshalJSON() (res []byte, err error)

func (*AasList) UnmarshalJSON added in v0.0.1

func (obj *AasList) UnmarshalJSON(data []byte) (err error)

type AasList_mfjson_wrap added in v0.0.2

type AasList_mfjson_wrap []mfj.IStructView

type AasMap added in v0.0.1

type AasMap map[string]TestInt1

func (AasMap) MarshalJSON added in v0.0.1

func (obj AasMap) MarshalJSON() (res []byte, err error)

func (*AasMap) UnmarshalJSON added in v0.0.1

func (obj *AasMap) UnmarshalJSON(data []byte) (err error)

type AasMap_mfjson_wrap added in v0.0.2

type AasMap_mfjson_wrap map[string]mfj.IStructView

type B

type B struct {
	A string
	B float64
}

func (*B) BlaName

func (b *B) BlaName() string

func (*B) UnmarshalJSONTypeName

func (obj *B) UnmarshalJSONTypeName() string

type C

type C struct {
	A string
	B string
}

func (*C) BlaName

func (b *C) BlaName() string

func (*C) UnmarshalJSONTypeName

func (obj *C) UnmarshalJSONTypeName() string

type Example

type Example struct {
	A int `json:"id"`
	B int64
	C TestInt1                    `json:"c" mfjson:"true"`
	D mfj.JsonInterfaceMarshaller `json:"d" mfjson:"true"`
	E TestInt2                    `json:"e" mfjson:"true"`
	F log.Level
	G []TestInt2          `json:"g" mfjson:"true"`
	H map[string]TestInt2 `json:"h" mfjson:"true"`
	//I []TestInt2
	//J map[int]TestInt2
	K []log.Level
	L map[int]log.Level
	M [][]*log.Level
	N *log.Level
	O [4]*log.Level
	P TestInt2 `json:"p" mfjson:"true"`
	Q TestInt2 `json:"q" mfjson:"true"`
	// contains filtered or unexported fields
}

func (Example) MarshalJSON

func (obj Example) MarshalJSON() (res []byte, err error)

func (*Example) UnmarshalJSON

func (obj *Example) UnmarshalJSON(data []byte) (err error)

type Example_mfjson_wrap added in v0.0.2

type Example_mfjson_wrap struct {
	A int `json:"id"`

	B int64

	// C TestInt1 `json:"c" mfjson:"true"`
	C mfj.IStructView `json:"c" mfjson:"true"`

	// D mfj.JsonInterfaceMarshaller `json:"d" mfjson:"true"`
	D mfj.IStructView `json:"d" mfjson:"true"`

	// E TestInt2 `json:"e" mfjson:"true"`
	E mfj.IStructView `json:"e" mfjson:"true"`

	F log.Level

	// G []TestInt2 `json:"g" mfjson:"true"`
	G []mfj.IStructView `json:"g" mfjson:"true"`

	// H map[string]TestInt2 `json:"h" mfjson:"true"`
	H map[string]mfj.IStructView `json:"h" mfjson:"true"`

	K []log.Level

	L map[int]log.Level

	M [][]*log.Level

	N *log.Level

	O [4]*log.Level

	// P TestInt2 `json:"p" mfjson:"true"`
	P mfj.IStructView `json:"p" mfjson:"true"`

	// Q TestInt2 `json:"q" mfjson:"true"`
	Q mfj.IStructView `json:"q" mfjson:"true"`
}

type TestInt1

type TestInt1 interface {
	BlaName() string
}

type TestInt2

type TestInt2 interface {
	BlaName() string
}

Jump to

Keyboard shortcuts

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