Serializes a type to Json. Note the type must be marked Serializable
or include a DataContract attribute.
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static string ToJsonString( Object value ) |
Visual Basic |
---|
Public Shared Function ToJsonString ( value As Object ) As String |
Parameters
- value
- Type: System..::..Object
paramvalueM:DotNetNuke.Common.Utilities.JsonExtensionsWeb.ToJsonString(System.Object)