}
}
private Collection<?> createNewCollection(final MappedField mf) {
final ObjectFactory of = getMapper().getOptions().getObjectFactory();
return mf.isSet() ? of.createSet(mf) : of.createList(mf);
}
@Override
@SuppressWarnings("unchecked")
public Object encode(final Object value, final MappedField mf) {