ComponentOne TreeView for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls Namespace / JsonHelper Class / WidgetToString Method
Required. Object to convert into JSON string
Optional. URL Resolution Service

In This Topic
    WidgetToString Method
    In This Topic
    Converts object into JSON string. Difference from ObjectToString method: 1) All field/property names will be converted to camelCase. 2) All enumerations will be converted to string value.
    Syntax
    'Declaration
     
    Public Shared Function WidgetToString( _
       ByVal obj As System.Object, _
       ByVal urlResolutionService As System.Web.UI.IUrlResolutionService _
    ) As System.String
    public static System.string WidgetToString( 
       System.object obj,
       System.Web.UI.IUrlResolutionService urlResolutionService
    )

    Parameters

    obj
    Required. Object to convert into JSON string
    urlResolutionService
    Optional. URL Resolution Service

    Return Value

    Javascript object notation string
    See Also