Informally, speakers will dispense with the preposition, but logically one would not compare 'food' (something to eat) with 'Japan' (somewhere to live). Hence, the preposition: I assumed that the food was the same as [the food] in Japan.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.