# Module /http/client/json

Convenience helpers for sending JSON HTTP requests and decoding structured responses (post-json).

```tangu
(use /http/client/json)
```

## Functions & symbols

### post-json

`(post-json client url body headers)`

Encodes `body` as JSON, sets `Content-Type: application/json`, and sends an HTTP POST request.

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `client` | `Any` | no | — |
| `url` | `Any` | no | — |
| `body` | `Any` | no | — |
| `headers` | `Any` | no | — |
