1 verses of the Douay-Rheims Bible (Challoner) have both "needed" and "what".
John 2:25 And because he needed not that any should give testimony of man: for he knew what was in man.
In other translations: KJV ASV Darby Webster Geneva