jodd-json/src/main/java/jodd/json/TypeJsonSerializerMap.java
public void register(final Class type, final TypeJsonSerializer typeJsonSerializer) {
		map.put(type, typeJsonSerializer);
		cache.clear();
	}
public void register(final Class type, final TypeJsonSerializer typeJsonSerializer) {
		map.put(type, typeJsonSerializer);
		cache.clear();
	}
public void register ( final Class type , final TypeJsonSerializer typeJsonSerializer ) { map . put ( type , typeJsonSerializer ) ; cache . clear ( ) ; }
Registers new serializer.
Registers new serializer .