Skip to content

CreateResponsePayloadDeserializer

This docs was updated at: 2026-02-23

com.paragon.responses.json.CreateResponsePayloadDeserializer  ยท  Class

Extends JsonDeserializer<CreateResponsePayload>


Custom deserializer for CreateResponsePayload to handle @JsonUnwrapped OpenRouterCustomPayload.

Jackson doesn't support @JsonUnwrapped with constructor parameters, so we need a custom deserializer to read the unwrapped OpenRouter fields directly from the JSON.