Class OfJsonAttribute
Place on an subtype of Of<T> to serialize it to JSON as its underlying type.
Inherited Members
Namespace: Recore
Assembly: Recore.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public sealed class OfJsonAttribute : JsonConverterAttribute
Constructors
| Improve this Doc View SourceOfJsonAttribute(Type, Type)
Initializes a new instance of OfJsonAttribute.
Declaration
public OfJsonAttribute(Type thisType, Type innerType)
Parameters
Type | Name | Description |
---|---|---|
Type | thisType | |
Type | innerType |