ASP.NET Core MVC Controls | ComponentOne
C1.AspNetCore.Mvc Assembly / C1.JsonNet Namespace / JsonHelper Class / SerializeObject Method / SerializeObject(Object,JsonResolver) Method
The object to serialize.
The object of JsonResolver

In This Topic
    SerializeObject(Object,JsonResolver) Method
    In This Topic
    Serializes the specified object to a JSON string using JsonResolver.
    Syntax
    'Declaration
     
    Public Overloads Shared Function SerializeObject( _
       ByVal obj As Object, _
       ByVal resolver As JsonResolver _
    ) As String
    public static string SerializeObject( 
       object obj,
       JsonResolver resolver
    )

    Parameters

    obj
    The object to serialize.
    resolver
    The object of JsonResolver

    Return Value

    A JSON string representation of the object.
    See Also