HtmlHelperExtensions.ToJson Method

Namespace:
Weavy.Web.Extensions
Assembly:
Weavy.Web.dll

ToJson(HtmlHelper, object)

Serializes an object to Json

public static IHtmlString ToJson(this HtmlHelper htmlHelper, object value)

Parameters

htmlHelper
System.Web.Mvc.HtmlHelper
value
object

Returns

System.Web.IHtmlString