func VerifyJSONRepresenting(object interface{}) http.HandlerFunc {
	data, err := json.Marshal(object)
	Expect(err).ShouldNot(HaveOccurred())
	return CombineHandlers(
		VerifyContentType("application/json"),
		VerifyJSON(string(data)),
	)
}
func VerifyJSONRepresenting(object interface{}) http.HandlerFunc {
	data, err := json.Marshal(object)
	Expect(err).ShouldNot(HaveOccurred())
	return CombineHandlers(
		VerifyContentType("application/json"),
		VerifyJSON(string(data)),
	)
}
func VerifyJSONRepresenting ( object interface { } ) http . HandlerFunc { data , err := json . Marshal ( object ) Expect ( err ) . ShouldNot ( HaveOccurred ( ) ) return CombineHandlers ( VerifyContentType ( " " ) , VerifyJSON ( string ( data ) ) , ) }
//VerifyJSONRepresenting is similar to VerifyJSON.  Instead of taking a JSON string, however, it
//takes an arbitrary JSON-encodable object and verifies that the requests's body is a JSON representation
//that matches the object
VerifyJSONRepresenting is similar to VerifyJSON . Instead of taking a JSON string however it takes an arbitrary JSON - encodable object and verifies that the requests s body is a JSON representation that matches the object