code: func (t *JSONTime) UnmarshalJSON(buf []byte) error {
  	s := bytes.Trim(buf, `"`)
  
  	v, err := strconv.Atoi(string(s))
  	if err != nil {
  		return err
  	}
  
  	*t = JSONTime(int64(v))
  	return nil
  }
docs: // UnmarshalJSON will unmarshal both string and int JSON values