Open
Description
public interface ProfunctorRecordTypeable<F_> extends Profunctor<F_> {
<A,B,V> __<__<F_,P2<A,V>>,P2<B,V>> versionSwitch(PRecordTypeable<V,V> version, F<V,PRecordTypeable<A,B>> switchFn);
.
.
.
}
This allows handling JSON/XML files with version numbers. On loading you can read the version number field then switch to another loader based on the version.