Interface IEnhancedJsonConverter
Newtonsoft: Extends the standard JsonConverter by returning the type handled by the converter.
note
JsonConverter classes need to implement this interface to be automatically supported by classes generated by Neon.ModelGen.
Namespace: Neon.Data
Assembly: Neon.Common.dll
Syntax
public interface IEnhancedJsonConverter
Properties
Type
Returns the type handled by the converter.
Declaration
Type Type { get; }
Property Value
Type | Description |
---|---|
Type |
Methods
ToSimpleString(object)
Converts an object instance to a simple (non-JSON) string.
Declaration
string ToSimpleString(object instance)
Parameters
Type | Name | Description |
---|---|---|
object | instance | The object instance. |
Returns
Type | Description |
---|---|
string | The rendered string. |