Documentation ¶
Overview ¶
Package json provides JSON marshalling and unmarshalling for basic types
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Marshal ¶
func Marshal(d interface{}) []byte
Marshal marshals a given object into JSON. This must succeed and will panic on fail.
func UnmarshalInt ¶
UnmarshalInt unmarshalls an int from JSON. Will panic on fail
func UnmarshalString ¶
UnmarshalString unmarshalls a string from JSON. Will panic on fail
func UnmarshalTime ¶
UnmarshalTime unmarshalls a time.Time from JSON. Will panic on fail
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.