I can see that in the first case a resonance would occur, and in the second case, there would be no resonance effect. I have read the fact that resonance reduces bond length due to partial double bond character.
According to that, shouldn't the $\ce{C=O}$ bond length in 1 be lesser than that in 2? The answer in my book is that the $\ce{C=O}$ bond in 1 is longer (reason is simply given as: "Resonance"). Could someone help me understand what's going on here?