Documentation ¶
Index ¶
- type Any
- type BoolMatrix
- type IntArray
- type MapIntMapStringStruct3
- func (j *MapIntMapStringStruct3) MarshalJSON() ([]byte, error)
- func (j *MapIntMapStringStruct3) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *MapIntMapStringStruct3) UnmarshalJSON(input []byte) error
- func (j *MapIntMapStringStruct3) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type MapStringString
- type PtrInt
- type StringArray
- type Struct3
- type StructVector3D
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Any ¶
type Any struct {
Data any `json:"data"`
}
func (*Any) MarshalJSON ¶
MarshalJSON marshal bytes to json - template
func (*Any) MarshalJSONBuf ¶
func (j *Any) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*Any) UnmarshalJSON ¶
UnmarshalJSON umarshall json - template of ffjson
func (*Any) UnmarshalJSONFFLexer ¶
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type BoolMatrix ¶
type BoolMatrix struct {
Data [][]bool `json:"data"`
}
func (*BoolMatrix) MarshalJSON ¶
func (j *BoolMatrix) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*BoolMatrix) MarshalJSONBuf ¶
func (j *BoolMatrix) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*BoolMatrix) UnmarshalJSON ¶
func (j *BoolMatrix) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*BoolMatrix) UnmarshalJSONFFLexer ¶
func (j *BoolMatrix) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type IntArray ¶
type IntArray struct {
Data []int `json:"data"`
}
func (*IntArray) MarshalJSON ¶
MarshalJSON marshal bytes to json - template
func (*IntArray) MarshalJSONBuf ¶
func (j *IntArray) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*IntArray) UnmarshalJSON ¶
UnmarshalJSON umarshall json - template of ffjson
func (*IntArray) UnmarshalJSONFFLexer ¶
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type MapIntMapStringStruct3 ¶
type MapIntMapStringStruct3 struct { // Can't use Struct3 because it fails the code generator Data map[int]map[string]struct { Name string `json:"name"` Number int `json:"number"` Tags []string `json:"tags"` } `json:"data"` }
func (*MapIntMapStringStruct3) MarshalJSON ¶
func (j *MapIntMapStringStruct3) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*MapIntMapStringStruct3) MarshalJSONBuf ¶
func (j *MapIntMapStringStruct3) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*MapIntMapStringStruct3) UnmarshalJSON ¶
func (j *MapIntMapStringStruct3) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*MapIntMapStringStruct3) UnmarshalJSONFFLexer ¶
func (j *MapIntMapStringStruct3) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type MapStringString ¶
func (*MapStringString) MarshalJSON ¶
func (j *MapStringString) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*MapStringString) MarshalJSONBuf ¶
func (j *MapStringString) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*MapStringString) UnmarshalJSON ¶
func (j *MapStringString) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*MapStringString) UnmarshalJSONFFLexer ¶
func (j *MapStringString) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type PtrInt ¶
type PtrInt struct {
Data *int `json:"data"`
}
func (*PtrInt) MarshalJSON ¶
MarshalJSON marshal bytes to json - template
func (*PtrInt) MarshalJSONBuf ¶
func (j *PtrInt) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*PtrInt) UnmarshalJSON ¶
UnmarshalJSON umarshall json - template of ffjson
func (*PtrInt) UnmarshalJSONFFLexer ¶
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type StringArray ¶
type StringArray struct {
Data []string `json:"data"`
}
func (*StringArray) MarshalJSON ¶
func (j *StringArray) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*StringArray) MarshalJSONBuf ¶
func (j *StringArray) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*StringArray) UnmarshalJSON ¶
func (j *StringArray) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*StringArray) UnmarshalJSONFFLexer ¶
func (j *StringArray) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type Struct3 ¶
type Struct3 struct { Name string `json:"name"` Number int `json:"number"` Tags []string `json:"tags"` }
func (*Struct3) MarshalJSON ¶
MarshalJSON marshal bytes to json - template
func (*Struct3) MarshalJSONBuf ¶
func (j *Struct3) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*Struct3) UnmarshalJSON ¶
UnmarshalJSON umarshall json - template of ffjson
func (*Struct3) UnmarshalJSONFFLexer ¶
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type StructVector3D ¶
type StructVector3D struct{ X, Y, Z float64 }
func (*StructVector3D) MarshalJSON ¶
func (j *StructVector3D) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*StructVector3D) MarshalJSONBuf ¶
func (j *StructVector3D) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*StructVector3D) UnmarshalJSON ¶
func (j *StructVector3D) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*StructVector3D) UnmarshalJSONFFLexer ¶
func (j *StructVector3D) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson