The json printer currently outputs stats after each action group. This is not consistent with the events printer and also not correct since the stats are not reset after each group. This updates the json printer to behave the same as the events printer.
Needs approval from an approver in each of these files:
- ~~[OWNERS](https://github.com/kubernetes-sigs/cli-utils/blob/master/OWNERS)~~ [mortent]
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
The json printer currently outputs stats after each action group. This is not consistent with the
events
printer and also not correct since the stats are not reset after each group. This updates thejson
printer to behave the same as theevents
printer.