ManifestDeserializer.h (661B)
1 // Copyright (c) Microsoft Corporation. 2 // Licensed under the MIT License. 3 #pragma once 4 #include "Rest/Schema/1_5/Json/ManifestDeserializer.h" 5 6 namespace AppInstaller::Repository::Rest::Schema::V1_6::Json 7 { 8 // Manifest Deserializer. 9 struct ManifestDeserializer : public V1_5::Json::ManifestDeserializer 10 { 11 protected: 12 13 std::optional<Manifest::ManifestInstaller> DeserializeInstaller(const web::json::value& installerJsonObject) const override; 14 15 Manifest::UpdateBehaviorEnum ConvertToUpdateBehavior(std::string_view in) const override; 16 17 Manifest::ManifestVer GetManifestVersion() const override; 18 }; 19 }