┌──────────┐ ┌───────────────┐ ┌────────────────────┐ │Client App│ │Account Service│ │Jackson ObjectMapper│ └─────┬────┘ └───────┬───────┘ └──────────┬─────────┘ │ POST /account │ │ │─────────────────────────>│ │ │ │ │ │ │ readValue(byte[] src, Class) │ │ │──────────────────────────────────────────────────>│ │ │ │ │ │────┐ │ │ │ │ createAccount(Account) │ │ │<───┘ │ │ │ writeValue(OutputStream out, Account newAccount) │ │ │──────────────────────────────────────────────────>│ │ │ │ │ Response (OutputStream) │ │ │< ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ │ │ │ │ │ ┌─────┴────┐ ┌───────┴───────┐ ┌──────────┴─────────┐ │Client App│ │Account Service│ │Jackson ObjectMapper│ └──────────┘ └───────────────┘ └────────────────────┘