pub fn parse_duration(v: &Value) -> Result<Duration, String>
A duration: 30s, 5m, 2h, 1500ms, or a bare number of seconds.
30s
5m
2h
1500ms