code: func ParseHTTPFormOptions(r *http.Request) (bool, *JSONOutput) {
  	_, unsafe := r.Form["unsafe"]
  	v, json := r.Form["json"]
  	var pretty bool
  	if len(v) > 0 {
  		pretty = v[0] == "pretty"
  	}
  	return unsafe, &JSONOutput{enable: json, prettyPrint: pretty}
  }
docs: // ParseHTTPFormOptions easily parse the JSON printing options