func (d Duration) MarshalJSON() ([]byte, error) {
	var w jwriter.Writer
	d.MarshalEasyJSON(&w)
	return w.BuildBytes()
}
func (d Duration) MarshalJSON() ([]byte, error) {
	var w jwriter.Writer
	d.MarshalEasyJSON(&w)
	return w.BuildBytes()
}
func ( d Duration ) MarshalJSON ( ) ( [ ] byte , error ) { var w jwriter . Writer d . MarshalEasyJSON ( & w ) return w . BuildBytes ( ) }
// MarshalJSON returns the Duration as JSON
MarshalJSON returns the Duration as JSON