ComponentOne SiteMap for ASP.NET Web Forms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls Namespace / JsonHelper Class / ObjectToString Method / ObjectToString(Object,IUrlResolutionService,Boolean) Method
Required. Object to convert into JSON string
Required. URL Resolution Service
if set to true writer will serialize all public properties and public fields, JsonAttribuute will be ignored.

In This Topic
    ObjectToString(Object,IUrlResolutionService,Boolean) Method
    In This Topic
    Converts object into JSON string.
    Syntax
    'Declaration
     
    Public Overloads Shared Function ObjectToString( _
       ByVal obj As System.Object, _
       ByVal urlResolutionService As System.Web.UI.IUrlResolutionService, _
       ByVal serializeAll As System.Boolean _
    ) As System.String
    public static System.string ObjectToString( 
       System.object obj,
       System.Web.UI.IUrlResolutionService urlResolutionService,
       System.bool serializeAll
    )

    Parameters

    obj
    Required. Object to convert into JSON string
    urlResolutionService
    Required. URL Resolution Service
    serializeAll
    if set to true writer will serialize all public properties and public fields, JsonAttribuute will be ignored.

    Return Value

    Javascript object notation string
    See Also