With contrary to org.json4s.CustomSerializer it has symmetric behaviour: if partial function for deserialization is not defined in values, serialization will be chained instead of Exception throwing.
With contrary to org.json4s.CustomSerializer it has symmetric behaviour: if partial function for deserialization is not defined in values, serialization will be chained instead of Exception throwing. Also it handles subtypes - not only direct instances of T