ShouldBindBodyWithYAML is a shortcut for c.ShouldBindBodyWith(obj, binding.YAML).
(obj any)
| 954 | |
| 955 | // ShouldBindBodyWithYAML is a shortcut for c.ShouldBindBodyWith(obj, binding.YAML). |
| 956 | func (c *Context) ShouldBindBodyWithYAML(obj any) error { |
| 957 | return c.ShouldBindBodyWith(obj, binding.YAML) |
| 958 | } |
| 959 | |
| 960 | // ShouldBindBodyWithTOML is a shortcut for c.ShouldBindBodyWith(obj, binding.TOML). |
| 961 | func (c *Context) ShouldBindBodyWithTOML(obj any) error { |