Creates a mapping that maps all primitive types to provided codecs and uses forOthers
to determine mapping for non-primitive types.
A function that, given a TpeRef
, returns the list of JsonFormat
s that are required to encode
and decode the given TpeRef
.
A function that, given a TpeRef
, returns the list of JsonFormat
s that are required to encode
and decode the given TpeRef
.
A non-primitive types com.example.Tpe
(except java.io.File) is mapped to com.example.TpeFormat
.