delegate.serialize( serializeTo, object, formatVersion );
}
@Override
protected void beforeTypeAndVersion( @Nonnull T object, @Nonnull JsonGenerator serializeTo ) throws IOException {
UniqueId uniqueId = getUniqueId();
serializeTo.writeStringField( ID, uniqueId.getId().asString() );
serializeTo.writeStringField( REV, uniqueId.getRevision().asString() );
super.beforeTypeAndVersion( object, serializeTo );
}