ToJSON serializes the input.
()
| 437 | |
| 438 | // ToJSON serializes the input. |
| 439 | func (i *Input) ToJSON() ([]byte, error) { return json.Marshal(i) } |
| 440 | |
| 441 | // ErrorPolicy controls what happens when a non-fail-closed hook fails. |
| 442 | type ErrorPolicy string |
no outgoing calls