JsonVariables.ToJsonString

Serialization helper that can be used to easily embed JSON values into ASP.NET pages. For Razor page embedding use ToJsonHtmlString instead.

public static string ToJsonString(object val)

Return Value

JSON string

Parameters

val
value or object to serialize


See also:

Class JsonVariables

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic