I have encountered this equation: $$\ce{SO4^2- -> S2O8^2-}$$ In this reaction 2 of the oxygen ions change from $-2$ to $-1$ so they are getting oxidized.
It is because two oxygen ions are connected together.
A question rises: why can't we oxidize oxygen ions in $\ce{NO3-}$ or any other?