func (w *jsonpResponseWriter) WriteJson(v interface{}) error {
	b, err := w.EncodeJson(v)
	if err != nil {
		return err
	}
	// JSONP security fix (http://miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/)
	w.Header().Set("Content-Disposition", "filename=f.txt")
	w.Header().Set("X-Content-Type-Options", "nosniff")
	w.Write([]byte("/**/" + w.callbackName + "("))
	w.Write(b)
	w.Write([]byte(")"))
	return nil
}
func (w *jsonpResponseWriter) WriteJson(v interface{}) error {
	b, err := w.EncodeJson(v)
	if err != nil {
		return err
	}
	
	w.Header().Set("Content-Disposition", "filename=f.txt")
	w.Header().Set("X-Content-Type-Options", "nosniff")
	w.Write([]byte("" + w.callbackName + "("))
	w.Write(b)
	w.Write([]byte(")"))
	return nil
}
func ( w * jsonpResponseWriter ) WriteJson ( v interface { } ) error { b , err := w . EncodeJson ( v ) if err != nil { return err } // JSONP security fix (http://miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/) w . Header ( ) . Set ( " " , " " ) w . Header ( ) . Set ( " " , " " ) w . Write ( [ ] byte ( " " + w . callbackName + " " ) ) w . Write ( b ) w . Write ( [ ] byte ( " " ) ) return nil }
// Make sure the local Write is called.
Make sure the local Write is called .