Package com.agui.json.mixins
Interface ResumeMixin
public interface ResumeMixin
Jackson mixin interface for configuring JSON serialization of
Resume objects.
Resume is a simple record (interruptId, status, payload), so no
polymorphic type discrimination is required. This mixin only pins the property order so
the emitted JSON consistently mirrors the AG-UI wire format:
{
"interruptId": "int-1",
"status": "resolved",
"payload": { "confirmed": true }
}
The status field (ResumeStatus) relies on the shared
EnumWithValueMixin (registered separately) to serialize as its lowercase wire
value (e.g. "resolved", "cancelled") rather than its Java enum name.
- See Also: