code: func (p *Params) BindJSON(dest interface{}) error {
  	value := reflect.ValueOf(dest)
  	if value.Kind() != reflect.Ptr {
  		paramsLogger.Warn("BindJSON: Not a pointer")
  		return errors.New("BindJSON not a pointer")
  	}
  	if err := json.Unmarshal(p.JSON, dest); err != nil {
  		paramsLogger.Warn("BindJSON: Unable to unmarshal request:", "error", err)
  		return err
  	}
  	return nil
  }
docs: // Bind binds the JSON data to the dest.