Deserializes a HexMap from a JSON string produced by serializeMapJSON.
Returns the map and any metadata that was stored with it.
Accepts versions MIN_VERSION..VERSION, upgrading older files via migrations.
Throws on out-of-range versions or cell data whose size doesn't match the
declared dimensions.
Deserializes a HexMap from a JSON string produced by
serializeMapJSON. Returns the map and any metadata that was stored with it. Accepts versions MIN_VERSION..VERSION, upgrading older files via migrations. Throws on out-of-range versions or cell data whose size doesn't match the declared dimensions.