Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyArray = make([]interface{}, 0)
EmptyArray is an obj that when compared with DeepEqual matches an Unmarshaled empty json array
View Source
var EmptyObject = make(map[string]interface{})
EmptyObject is an obj that when compared with DeepEqual matches an Unmarshaled empty json object
Functions ¶
func Marshal ¶
func Marshal(obj interface{}) (s string)
Marshal returns a *bytes.Buffer from a marshalled []byte
func Unmarshal ¶
func Unmarshal(resp *httptest.ResponseRecorder) (obj interface{})
Unmarshal returns interface from json response object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.