'Declaration Public Overloads Shared Function C1Json( _ ByVal data As Object, _ Optional ByVal useCamelCasePropertyName As Boolean _ ) As JsonResult
public static JsonResult C1Json( object data, bool useCamelCasePropertyName )
Parameters
- data
- The object to serialize.
- useCamelCasePropertyName
- A System.Boolean value decides whether to use camel case to serialize the data.
Return Value
The created Microsoft.AspNetCore.Mvc.JsonResult that serializes the specified data to JSON format for the response.