// ValueAsJSON returns the current value as an interface{} in it's JSON representation.
ValueAsJSON returns the current value as an interface{} in it's JSON representation.
// ValueAsJSON returns the current value as an interface {} in it ' s JSON representation .
func (vr *DurationValueIterator) ValueAsJSON() (interface{}, error) {
	if vr.ref.IsNull(vr.index) {
		return nil, nil
	}
	return durationAsJSON(vr.values[vr.index])
}
func ( vr * DurationValueIterator ) ValueAsJSON ( ) ( interface { } , error ) { if vr . ref . IsNull ( vr . index ) { return nil , nil } return durationAsJSON ( vr . values [ vr . index ] ) }
ValueAsJSON returns the current value as an interface{} in it's JSON representation.
ValueAsJSON returns the current value as an interface {} in it ' s JSON representation .