DevPlaceApp
#include "model/NotificationOpen.hpp"
#include "core/JsonDecode.hpp"
namespace dp {
NotificationOpen NotificationOpen::fromJson(const Json& j) {
using D = JsonDecode;
return NotificationOpen{D::req<bool>(j, "ok"), D::req<std::string>(j, "redirect")};
}
} // namespace dp