#pragma once
#include <optional>
#include <string>

struct EnvoyData
{
    std::string type;
    std::int32_t activeCount;
    std::int64_t readingTime;
    std::int32_t wNow;
    std::int64_t whLifetime;

    static std::optional<EnvoyData> ParseJson(std::string const & json);
};