func parseJSON(rc io.Reader, object interface{}) error {
	decoder := json.NewDecoder(rc)
	err := decoder.Decode(object)
	if err != nil {
		return errors.New("could not parse json")
	}
	return nil
}
// parseJSON parses the given json request into interface
parseJSON parses the given json request into interface
// parseJSON parses the given json request into interface
func parseJSON(rc io.Reader, object interface{}) error {
	decoder := json.NewDecoder(rc)
	err := decoder.Decode(object)
	if err != nil {
		return errors.New("could not parse json")
	}
	return nil
}
func parseJSON ( rc io . Reader , object interface { } ) error { decoder := json . NewDecoder ( rc ) err := decoder . Decode ( object ) if err != nil { return errors . New ( " " ) } return nil }
parseJSON parses the given json request into interface
parseJSON parses the given json request into interface