Task-oriented guides for accomplishing specific goals with Lutaml::Model.

XML serialization

Key-value serialization

Advanced mapping

  • Advanced Attribute Mapping - Same-name dispatch on attribute values (when_attribute), grouped declarations, custom methods, delegation

Performance

Linked Data serialization

RDF infrastructure

See RDF Namespaces for namespace classes, NamespaceSet, Iri, and Literal value objects.

Advanced features

Runtime environments

  • Opal Usage Guide - Run Lutaml::Model in the browser via Opal (Ruby to JavaScript)

By task

I want to serialize to JSON-LD or Turtle (Linked Data)

  1. Unified RDF Serialization (recommended — one block for both formats)

  2. JSON-LD Serialization guide (legacy jsonld do block)

  3. Turtle Serialization guide (legacy turtle do block)

  4. RDF Namespaces reference

I want to work with collections

  1. Collection Serialization

  2. Collections reference

  3. Consolidation Mapping - Group elements into structured models

I want to generate or import schemas

See also