Documentation ¶
Overview ¶
Package json provides json marshaling functions that do not return any error but may panic if something bad occurs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalIndentPanic ¶
func MarshalIndentPanic(v interface{}) []byte
MarshalIndentPanic marshaliues the interface v into JSON and indents it. If an error occurs in the process, it panics.
func MarshalPanic ¶
func MarshalPanic(v interface{}) []byte
MarshalPanic marshalizes the interface v into JSON. If an error occurs in the process, it panics.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.