Click or drag to resize

HtmlHelperExtensionsJson Method (HtmlHelper, Object, JavaScriptEncoding, Boolean)

Returns the JSON representation of the given value.

Namespace:  Packflow.Interface.Utils
Assembly:  MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax
C#
public static Html Json(
	this HtmlHelper helper,
	Object value,
	JavaScriptEncoding encoding,
	bool usePascalCase = false
)

Parameters

helper
Type: HtmlHelper
value
Type: SystemObject
encoding
Type: Packflow.Interface.UtilsJavaScriptEncoding
usePascalCase (Optional)
Type: SystemBoolean

Return Value

Type: Html

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type HtmlHelper. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also