View Source
Class JsonNetResult
Custom json result using newtonsoft json.net
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
public class JsonNetResult : ActionResult
Constructors
View Source
JsonNetResult()
Declaration
View Source
JsonNetResult(JsonSerializerSettings)
Declaration
public JsonNetResult(JsonSerializerSettings jsonSerializerSettings)
Parameters
Type |
Name |
Description |
JsonSerializerSettings |
jsonSerializerSettings |
|
Fields
View Source
DefaultJsonSerializerSettings
Default, unchanged JsonSerializerSettings
Declaration
public static readonly JsonSerializerSettings DefaultJsonSerializerSettings
Field Value
Type |
Description |
JsonSerializerSettings |
|
Properties
View Source
ContentEncoding
Declaration
public Encoding ContentEncoding { get; set; }
Property Value
Type |
Description |
System.Text.Encoding |
|
View Source
ContentType
Declaration
public string ContentType { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Data
Declaration
public object Data { get; set; }
Property Value
Type |
Description |
System.Object |
|
View Source
Declaration
public Formatting Formatting { get; set; }
Property Value
Type |
Description |
Formatting |
|
View Source
SerializerSettings
Declaration
public JsonSerializerSettings SerializerSettings { get; set; }
Property Value
Type |
Description |
JsonSerializerSettings |
|
Methods
View Source
ExecuteResult(ControllerContext)
Declaration
public override void ExecuteResult(ControllerContext context)
Parameters
Type |
Name |
Description |
ControllerContext |
context |
|