Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type A ¶
func (*A) UnmarshalJSONTypeName ¶
type B ¶
func (*B) UnmarshalJSONTypeName ¶
type C ¶
func (*C) UnmarshalJSONTypeName ¶
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"`
}
func (Example) MarshalJSON ¶
func (*Example) UnmarshalJSON ¶
type Example_mjson_wrap ¶
type Example_mjson_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"`
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"`
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 {
mfj.JsonInterfaceMarshaller
BlaName() string
}
Click to show internal directories.
Click to hide internal directories.