joseCompliantSerializer

JSON Serializer, preconfigured with JOSE-compliant settings:

prettyPrint = false
encodeDefaults = false
classDiscriminator = "type"
ignoreUnknownKeys = true