irccd  3.0.3
Static Public Member Functions | List of all members
irccd::json_util::type_traits< std::int64_t > Struct Reference

Specialization for std::int64_t. More...

#include <json_util.hpp>

Static Public Member Functions

static auto get (const nlohmann::json &value) noexcept -> std::optional< std::int64_t >
 

Detailed Description

Specialization for std::int64_t.

Member Function Documentation

◆ get()

static auto irccd::json_util::type_traits< std::int64_t >::get ( const nlohmann::json &  value) -> std::optional< std::int64_t >
staticnoexcept

Convert the JSON value to std::int64_t.

Parameters
valuethe value
Returns
the int or empty if not a int type

The documentation for this struct was generated from the following file: