Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertInterfaceTo ¶
func JsonDeserialize ¶
JsonDeserialize deserializes the given JSON data into the given value. Unlike json.Unmarshal, it does not automatically use a float64 type for numbers.
func JsonSerialize ¶
JsonSerialize serializes the given value to JSON. Unlike json.Marshal, it does not escape HTML characters.
Types ¶
type RawJsonString ¶
type RawJsonString string
func (RawJsonString) MarshalJSON ¶
func (s RawJsonString) MarshalJSON() ([]byte, error)
func (*RawJsonString) UnmarshalJSON ¶
func (s *RawJsonString) UnmarshalJSON(data []byte) error
type StringOrRawJson ¶
type StringOrRawJson string
func (StringOrRawJson) MarshalJSON ¶
func (s StringOrRawJson) MarshalJSON() ([]byte, error)
func (*StringOrRawJson) UnmarshalJSON ¶
func (s *StringOrRawJson) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.