func WriteJSON(r Registry, d time.Duration, w io.Writer) {
	for range time.Tick(d) {
		WriteJSONOnce(r, w)
	}
}
// WriteJSON writes metrics from the given registry  periodically to the
// specified io.Writer as JSON.
WriteJSON writes metrics from the given registry  periodically to the
specified io.Writer as JSON.
// WriteJSON writes metrics from the given registry periodically to the // specified io . Writer as JSON .
func WriteJSON(r Registry, d time.Duration, w io.Writer) {
	for range time.Tick(d) {
		WriteJSONOnce(r, w)
	}
}
func WriteJSON ( r Registry , d time . Duration , w io . Writer ) { for range time . Tick ( d ) { WriteJSONOnce ( r , w ) } }
WriteJSON writes metrics from the given registry  periodically to the
specified io.Writer as JSON.
WriteJSON writes metrics from the given registry periodically to the specified io . Writer as JSON .