JsonTypeResolver Class
Reolves the JSON type names into CLR types and vice versa.
Methods:
Name | Description | |
---|---|---|
ResolveTypeName(Type) | Resolves the CLR type to a JSON type name. | |
ResolveTypeName<T>() | Resolves the CLR type to a JSON type name. | |
ResolveType(String) | Resolves the JSON type name into a CLR type. | |
FromAssemblyMappings(Assembly) | Returns an instance of the JsonTypeResolver which uses the mappings defined by the JsonTypeMappingAttribute on the specified assembly. | |
FromAssemblyMappings<T>() | Returns an instance of the JsonTypeResolver which uses the mappings defined by the JsonTypeMappingAttribute on the specified assembly. |