(t *testing.T)
| 186 | } |
| 187 | |
| 188 | func TestBindingJSON(t *testing.T) { |
| 189 | testBodyBinding(t, |
| 190 | JSON, "json", |
| 191 | "/", "/", |
| 192 | `{"foo": "bar"}`, `{"bar": "foo"}`) |
| 193 | } |
| 194 | |
| 195 | func TestBindingJSONSlice(t *testing.T) { |
| 196 | EnableDecoderDisallowUnknownFields = true |
nothing calls this directly
no test coverage detected