pub fn deserialize(raw: &Value) -> Result<Simulation, String>Expand description
Builds a game from save JSON (from decode_vctower or
Simulation::serialize). An older save is upgraded first, and damaged
or edited fields are corrected the way the web game’s loader corrects
them. Refuses a save from a newer version of the engine, and one it cannot
read, with a sentence a player can read.