Why didn’t Japan become a semi-colony?

In the colony, those countries were converted from which it was possible to pump out resources, minerals, and agricultural products. Japan is poor in natural resources, it has practically nothing. Therefore, she herself became a colonizer for China and Korea.
The international situation has contributed to the fact that Japan has maintained independence. In the early 60s, when a mass movement against foreigners began in Japan, the United States of America was embraced by the fire of civil war, and therefore deprived of the opportunity to actively intervene in Japanese affairs. Could not intervene in Japanese affairs and Russia. The event in Japan began shortly after Russia was defeated in the Crimean War, during the uprising in Poland and the fall of serfdom. National unification wars took place on the European mainland during this decade. At the same time, the Taiping uprising in China (1850-1864) and the engagement of England and France in its suppression diverted their forces from Japan, all of which facilitated the victory of the bourgeois revolution and contributed to the fact that Japan did not become a colony or semi-colony of European countries and the United States.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.