Class
RavenParenthesizedUnionJsonConverterFactory
class RavenParenthesizedUnionJsonConverterFactory
Namespace: System
Assembly: Raven.Core.dll
Source file: UnionJsonConverter.rvn
Inheritance: object → JsonConverter → JsonConverterFactory → RavenParenthesizedUnionJsonConverterFactory
Creates JSON converters for parenthesized ad-hoc unions.
Constructors
1 itemProperties
1 itemMethods
2 items
virtual override func CanConvert(typeToConvert: Type) -> bool
Determines whether a type has the runtime shape of a parenthesized union.
virtual override func CreateConverter(typeToConvert: Type, options: JsonSerializerOptions) -> JsonConverter?
Creates a parenthesized-union converter for the specified type.