using System; using System.Collections.Generic; using System.Text; namespace Apewer.AspNetBridge { /// public class JsonResult : HttpActionResult { /// public JsonResult(object content) { var json = Json.From(content); var text = json == null ? "" : json.ToString(); Bytes = text.Bytes(); ContentType = "application/json"; } } }