swift-ecore supports two serialisation formats: XMI (XML Metadata Interchange) and JSON. XMI is the standard EMF format with rich metadata, whilst JSON provides a lightweight, modern alternative.
Choose XMI for interoperability with Eclipse EMF tools, or JSON for web applications and modern workflows. Both formats preserve complete model structure and can be converted losslessly.