30 #ifndef NLOHMANN_CROW_UTILITIES_HPP 31 #define NLOHMANN_CROW_UTILITIES_HPP 35 #include <thirdparty/json/json.hpp> 37 using json = nlohmann::json;
41 namespace crow_utilities
53 bool only_module =
false);
std::string get_iso8601()
get the current date and time as ISO 8601 string
json get_backtrace(int skip)
namespace for Niels Lohmann
std::int64_t get_timestamp()
get the seconds since epoch
std::string pretty_name(const char *type_id_name, const bool only_module)
return pretty type name
std::string generate_uuid()
generate a UUID4 without dashes