Interface IJqGridJsonService
Service which provides JSON serialization capabilities for JqGrid needs.
Namespace: Lib.AspNetCore.Mvc.JqGrid.Core.Json
Assembly: Lib.AspNetCore.Mvc.JqGrid.Core.dll
Syntax
public interface IJqGridJsonService
Methods
DeserializeJqGridSearchingFilters(String)
Deserializes JSON which represents jqGrid filters.
Declaration
JqGridSearchingFilters DeserializeJqGridSearchingFilters(string jqGridSearchingFilters)
Parameters
Type | Name | Description |
---|---|---|
System.String | jqGridSearchingFilters | The jqGrid filters JSON. |
Returns
Type | Description |
---|---|
JqGridSearchingFilters |
GetJqGridJsonResultSerializerSettings(Object)
Gets the serializer settings for JqGridJsonResult.
Declaration
object GetJqGridJsonResultSerializerSettings(object serializerSettings)
Parameters
Type | Name | Description |
---|---|---|
System.Object | serializerSettings | The serializer settings to be extended (can be null). |
Returns
Type | Description |
---|---|
System.Object | The serializer settings for JqGridJsonResult. |
SerializeJqGridObject(Object)
Serializes the specified object to a JSON string with dedicated handling of jqGrid specific types.
Declaration
string SerializeJqGridObject(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The object to serialize. |
Returns
Type | Description |
---|---|
System.String | A JSON string representation of the object. |
SerializeJqGridSearchingFilters(JqGridSearchingFilters)
Serializes class which represents jqGrid filters to JSON.
Declaration
string SerializeJqGridSearchingFilters(JqGridSearchingFilters jqGridSearchingFilters)
Parameters
Type | Name | Description |
---|---|---|
JqGridSearchingFilters | jqGridSearchingFilters |
Returns
Type | Description |
---|---|
System.String | The jqGrid filters JSON. |
SerializeObject(Object)
Serializes the specified object to a JSON string.
Declaration
string SerializeObject(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The object to serialize. |
Returns
Type | Description |
---|---|
System.String | A JSON string representation of the object. |