Marshaler is the interface implemented by types that can marshal themselves into valid JSON.
| 222 | // Marshaler is the interface implemented by types that |
| 223 | // can marshal themselves into valid JSON. |
| 224 | type Marshaler interface { |
| 225 | MarshalJSON() ([]byte, error) |
| 226 | } |
| 227 | |
| 228 | // An UnsupportedTypeError is returned by Marshal when attempting |
| 229 | // to encode an unsupported value type. |
no outgoing calls
no test coverage detected