JSONCodec is a Codec that encodes API responses as JSON.
| 37 | |
| 38 | // JSONCodec is a Codec that encodes API responses as JSON. |
| 39 | type JSONCodec struct{} |
| 40 | |
| 41 | func (JSONCodec) ContentType() MIMEType { |
| 42 | return MIMEType{Type: "application", SubType: "json"} |
nothing calls this directly
no outgoing calls
no test coverage detected