SingleToOptionalConverter

constructor(singleConverter: SingleConverter<T>, newSignatureType: Key? = null, newShowTypeInSignature: Boolean? = null, newErrorType: Key? = null, outputError: Boolean = false, validator: Validator<T?> = null)

Parameters

singleConverter

The SingleConverter to wrap.

newSignatureType

An optional signature type string to override the one set in singleConverter.

newShowTypeInSignature

An optional boolean to override the showTypeInSignature setting set in singleConverter.

newErrorTypeString

An optional error type string to override the one set in singleConverter.