class Guff::Theme::Installer::Manifest JSON.mapping( format: Int32, metadata: Hash(String, String), files: Array(FileInfo), assets: Assets, templates: Hash(String, String), ) def self.load(zip_path : String) : Manifest json = "" Zip::Archive.open(zip_path) do |zip| json = String.new(zip.read("guff-manifest.json")) end # return result from_json(json) end end