Documentation ¶
Index ¶
- type Bool
- type Float32
- func (v Float32) Get(deflt float32) float32
- func (v Float32) IsDefined() bool
- func (v Float32) MarshalJSON() ([]byte, error)
- func (v Float32) MarshalPartialJSON(w *jwriter.Writer)
- func (v Float32) String() string
- func (v *Float32) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Float32) UnmarshalJSON(data []byte) error
- type Float64
- func (v Float64) Get(deflt float64) float64
- func (v Float64) IsDefined() bool
- func (v Float64) MarshalJSON() ([]byte, error)
- func (v Float64) MarshalPartialJSON(w *jwriter.Writer)
- func (v Float64) String() string
- func (v *Float64) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Float64) UnmarshalJSON(data []byte) error
- type Int
- type Int16
- func (v Int16) Get(deflt int16) int16
- func (v Int16) IsDefined() bool
- func (v Int16) MarshalJSON() ([]byte, error)
- func (v Int16) MarshalPartialJSON(w *jwriter.Writer)
- func (v Int16) String() string
- func (v *Int16) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Int16) UnmarshalJSON(data []byte) error
- type Int32
- func (v Int32) Get(deflt int32) int32
- func (v Int32) IsDefined() bool
- func (v Int32) MarshalJSON() ([]byte, error)
- func (v Int32) MarshalPartialJSON(w *jwriter.Writer)
- func (v Int32) String() string
- func (v *Int32) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Int32) UnmarshalJSON(data []byte) error
- type Int64
- func (v Int64) Get(deflt int64) int64
- func (v Int64) IsDefined() bool
- func (v Int64) MarshalJSON() ([]byte, error)
- func (v Int64) MarshalPartialJSON(w *jwriter.Writer)
- func (v Int64) String() string
- func (v *Int64) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Int64) UnmarshalJSON(data []byte) error
- type Int8
- type String
- func (v String) Get(deflt string) string
- func (v String) IsDefined() bool
- func (v String) MarshalJSON() ([]byte, error)
- func (v String) MarshalPartialJSON(w *jwriter.Writer)
- func (v String) String() string
- func (v *String) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *String) UnmarshalJSON(data []byte) error
- type Uint
- type Uint16
- func (v Uint16) Get(deflt uint16) uint16
- func (v Uint16) IsDefined() bool
- func (v Uint16) MarshalJSON() ([]byte, error)
- func (v Uint16) MarshalPartialJSON(w *jwriter.Writer)
- func (v Uint16) String() string
- func (v *Uint16) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Uint16) UnmarshalJSON(data []byte) error
- type Uint32
- func (v Uint32) Get(deflt uint32) uint32
- func (v Uint32) IsDefined() bool
- func (v Uint32) MarshalJSON() ([]byte, error)
- func (v Uint32) MarshalPartialJSON(w *jwriter.Writer)
- func (v Uint32) String() string
- func (v *Uint32) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Uint32) UnmarshalJSON(data []byte) error
- type Uint64
- func (v Uint64) Get(deflt uint64) uint64
- func (v Uint64) IsDefined() bool
- func (v Uint64) MarshalJSON() ([]byte, error)
- func (v Uint64) MarshalPartialJSON(w *jwriter.Writer)
- func (v Uint64) String() string
- func (v *Uint64) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Uint64) UnmarshalJSON(data []byte) error
- type Uint8
- func (v Uint8) Get(deflt uint8) uint8
- func (v Uint8) IsDefined() bool
- func (v Uint8) MarshalJSON() ([]byte, error)
- func (v Uint8) MarshalPartialJSON(w *jwriter.Writer)
- func (v Uint8) String() string
- func (v *Uint8) UnMarshalPartialJSON(l *jlexer.Lexer)
- func (v *Uint8) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Bool) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Bool) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Bool) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Bool) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Bool) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Float32 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Float32) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Float32) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Float32) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Float32) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Float32) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Float64 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Float64) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Float64) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Float64) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Float64) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Float64) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Int ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Int) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Int) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Int) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Int) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Int) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Int16 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Int16) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Int16) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Int16) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Int16) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Int16) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Int32 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Int32) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Int32) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Int32) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Int32) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Int32) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Int64 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Int64) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Int64) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Int64) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Int64) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Int64) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Int8 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Int8) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Int8) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Int8) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Int8) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Int8) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type String ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (String) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (String) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (String) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*String) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*String) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Uint ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Uint) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Uint) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Uint) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Uint) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Uint) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Uint16 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Uint16) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Uint16) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Uint16) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Uint16) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Uint16) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Uint32 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Uint32) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Uint32) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Uint32) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Uint32) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Uint32) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Uint64 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Uint64) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Uint64) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Uint64) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Uint64) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Uint64) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.
type Uint8 ¶
A 'gotemplate'-based type for providing optional semantics without using pointers.
func (Uint8) IsDefined ¶
IsDefined returns whether the value is defined, a function is required so that it can be used in an interface.
func (Uint8) MarshalJSON ¶
MarshalJSON implements a standard json marshaler interface.
func (Uint8) MarshalPartialJSON ¶
MarshalPartialJSON does JSON marshaling using partialencode interface.
func (*Uint8) UnMarshalPartialJSON ¶
UnMarshalPartialJSON does JSON unmarshaling using partialencode interface.
func (*Uint8) UnmarshalJSON ¶
UnmarshalJSON implements a standard json unmarshaler interface.