Save game and load

I have little problem. How i can make save / load game feature. I have much data to save. I have humans, teams, city, and few other thinks. And all thinks have different ID and other infos. And those data is in arrays.

So how i can make some save game feature for this?

here is a good explanation for c# (I don’t really know how serialization works in javascript)

or have a server that the game can connect to to upload data.