Documentation ¶
Overview ¶
Additional types which are used in requests to the API but are not built-ins and thus not implemented by the json package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringOrZero ¶
type StringOrZero string
Workaround for Omnia's very handy feature of using an integer zero when no string data is present.
func (StringOrZero) MarshallJSON ¶
func (s StringOrZero) MarshallJSON() ([]byte, error)
func (*StringOrZero) UnmarshalJSON ¶
func (s *StringOrZero) UnmarshalJSON(data []byte) (err error)
Click to show internal directories.
Click to hide internal directories.