New Delhi, Jan 14 (UNI) Inflation based on the Wholesale Price Index moderated to 1.22 per cent in December as prices of onion and potato eased, data released by the government on Thursday showed.