Marshal encodes the given value into YAML.
(in any)
| 15 | |
| 16 | // Marshal encodes the given value into YAML. |
| 17 | func (h YamlHandler) Marshal(in any) ([]byte, error) { |
| 18 | return yaml.Marshal(in) |
| 19 | } |
| 20 | |
| 21 | // ValidateFields is used to detect unknown fields during parsing of JBP_CONFIG* configurations |
| 22 | func (h YamlHandler) ValidateFields(data []byte, out interface{}) error { |
no outgoing calls
no test coverage detected