public final < T > SerializerJson < T > serializer ( Type type ) { SerializerJson < T > ser = ( SerializerJson < T > ) _serTypeMap . get ( type ) ; if ( ser == null ) { TypeRef typeRef = TypeRef . of ( type ) ; Class < T > rawClass = ( Class < T > ) typeRef . rawClass ( ) ; ser = serializer ( rawClass ) . withType ( typeRef , this ) ; _serTypeMap . putIfAbsent ( type , ser ) ; ser = ( SerializerJson < T > ) _serTypeMap . get ( type ) ; } return ser ; }
The serializer for the given type .