ShouldBindBodyWithXML is a shortcut for c.ShouldBindBodyWith(obj, binding.XML).
(obj any)
| 949 | |
| 950 | // ShouldBindBodyWithXML is a shortcut for c.ShouldBindBodyWith(obj, binding.XML). |
| 951 | func (c *Context) ShouldBindBodyWithXML(obj any) error { |
| 952 | return c.ShouldBindBodyWith(obj, binding.XML) |
| 953 | } |
| 954 | |
| 955 | // ShouldBindBodyWithYAML is a shortcut for c.ShouldBindBodyWith(obj, binding.YAML). |
| 956 | func (c *Context) ShouldBindBodyWithYAML(obj any) error { |