Protocol for converting content to Puck.Content.Part structs.
Built-in implementations:
- Strings become text parts
- Maps/structs are JSON-encoded
- Parts pass through unchanged
Summary
Functions
Converts content to a list of Content.Part structs.
Types
@type t() :: term()
All the types that implement this protocol.