[−][src]Function cosmogony::read_zones_from_file
pub fn read_zones_from_file(
input: impl AsRef<Path>
) -> Result<Box<dyn Iterator<Item = Result<Zone, Error>>>, Error>
Return an iterator on the zones if the input file is a jsonstream, the zones are streamed if the input file is a json, the whole cosmogony is loaded