Class JsonCamelCaseFormatter
Applying this attribute to any webapi controller will ensure that it only contains one json formatter with a camelCase formatter
Inheritance
System.Object
System.Attribute
Namespace: Umbraco.Web.WebApi
Assembly: Umbraco.Web.dll
Syntax
public class JsonCamelCaseFormatter : Attribute, _Attribute
Methods
View SourceInitialize(HttpControllerSettings, HttpControllerDescriptor)
Declaration
public void Initialize(HttpControllerSettings controllerSettings, HttpControllerDescriptor controllerDescriptor)
Parameters
Type | Name | Description |
---|---|---|
HttpControllerSettings | controllerSettings | |
HttpControllerDescriptor | controllerDescriptor |