class Lutaml::Model::Collection
def to(format, instance, options = {})
def to(format, instance, options = {}) mappings = mappings_for(format) if mappings.no_root? && collection_unwrapped_to?(format) collection_unwrapped_to(format, mappings, instance, options) else super(format, instance, options.merge(collection: true)) end end