JsonRowConverter class
namespace: Serenity.Data assembly: Serenity.Net.Services
Serialize/deserialize a row
public class JsonRowConverter : JsonConverter
Public Members
| name | description |
|---|---|
| JsonRowConverter() | The default constructor. |
| override CanRead { get; } | Gets a value indicating whether this JsonConverter can read JSON. |
| override CanWrite { get; } | Gets a value indicating whether this JsonConverter can write JSON. |
| override CanConvert(…) | Determines whether this instance can convert the specified object type. |
| override ReadJson(…) | Reads the JSON representation of the object. |
| override WriteJson(…) | Writes the JSON representation of the object. |
| static ShouldDeserializeExtension { get; set; } | Should deserialize extension |
| static ShouldSerializeExtension { get; set; } | Should serialize extension |
| static SetLocalShouldDeserializeExtension(…) | Sets the local ShouldDeserializeExtension hook for the current thread and async context. Useful for background tasks, async methods, and testing to set the hook locally without affecting other threads or tests. |
| static SetLocalShouldSerializeExtension(…) | Sets the local ShouldSerializeExtension hook for the current thread and async context. Useful for background tasks, async methods, and testing to set the hook locally without affecting other threads or tests. |
See Also
- Source: Newtonsoft.JsonRowConverter.cs