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

Specialization for double. More...

#include <json_util.hpp>

Static Public Member Functions

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

Detailed Description

Specialization for double.

Member Function Documentation

◆ get()

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

Convert the JSON value to bool.

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

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