Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GzippedText ¶
type GzippedText []byte
func (*GzippedText) Scan ¶
func (g *GzippedText) Scan(src interface{}) error
type JsonText ¶
type JsonText json.RawMessage
JsonText is a json.RawMessage, which is a []byte underneath. Value() validates the json format in the source, and returns an error if the json is not valid. Scan does no validation. JsonText additionally implements `Unmarshal`, which unmarshals the json within to an interface{}
func (*JsonText) MarshalJSON ¶
Returns the *j as the JSON encoding of j.
func (*JsonText) UnmarshalJSON ¶
UnmarshalJSON sets *j to a copy of data
Click to show internal directories.
Click to hide internal directories.