Japan’s core consumer inflation slowed in July in line with the central bank’s view that upward pressure on prices is easing, but pockets of sticky price growth will keep monetary authorities on the alert for upside risks.

Consumer prices excluding fresh food rose 3.1% from a year ago, decelerating from 3.3% in the previous month, the internal affairs ministry reported Friday. The figure matched analysts’ expectations.

The nationwide result was consistent with data for Tokyo, a leading indicator that earlier showed a modest slowdown as falls in energy prices deepened.