---
title: Moshi.Data API
description: API reference for the Moshi.Data module.
---

import ApiDoc from '@components/ApiDoc.astro';

The `Moshi.Data` module provides the `@data` macro for defining algebraic data types, along with reflection utilities for working with variants at runtime.

<ApiDoc module="Moshi.Data" />
