(body []byte, obj any)
| 38 | } |
| 39 | |
| 40 | func (jsonBinding) BindBody(body []byte, obj any) error { |
| 41 | return decodeJSON(bytes.NewReader(body), obj) |
| 42 | } |
| 43 | |
| 44 | func decodeJSON(r io.Reader, obj any) error { |
| 45 | decoder := json.API.NewDecoder(r) |
nothing calls this directly
no test coverage detected