Japan is the clearly more “successful” economy with a National Income of around 37,000 Dollars
That places Japan as a Developed Nation without any question
China's National Income is around 15,000 Dollars
That places China as a very new High Income Nation that has just burst out of the Middle High Income group and the dreaded Middle Class Trap
Japan's per capita worker output is valued at around 89,000 Dollars - clearly a High Value Economy
China's per capita worker output is valued at around 23,000 Dollars - a Medium High Value economy, needing just a small push to enter the high value economy
So Japan is richer than China and Japanese economy generates far higher per capita worker output
Roughly 26 per cent of the Japanese work force are high skill workers against 8 per cent of the Chinese work force (although in raw numbers this still pits around 13 Million workers in Japan against 72 Million Chinese)
Japan controls nearly 42 per cent of precision manufacturing and critical core quality processes in the world , China controls between 8 and 11 per cent
Give China a massive highway in the mountains or a gargantuan hospital building and they can do the best work in the world
Give them a complex blueprint and they can scale it commercially in half to a third the time it would take for someone like Japan and a tenth the time it would take for Europeans
However making micrometer scale physically strong parts to enable highest precision and tooling - That's Japan
—
There are some areas where China undoubtedly scores far higher
Economic Strength (Not Size or Success), Military Strength where China is clearly a far stronger power and some others
City to City comparisons would also be much closer
Yet this question mentions only “Successful Economy”