http/json.go
func JsonWrite(w http.ResponseWriter, status int, content interface{}) {
	HttpHeader_ContentType_Json().SetWriter(w.Header())
	w.WriteHeader(status)
	if content != nil {
		json.NewEncoder(w).Encode(content)
	}
}
func JsonWrite(w http.ResponseWriter, status int, content interface{}) {
	HttpHeader_ContentType_Json().SetWriter(w.Header())
	w.WriteHeader(status)
	if content != nil {
		json.NewEncoder(w).Encode(content)
	}
}
// JsonWrite sets response content type to JSON, sets HTTP status and serializes
// defined content to JSON format.