![]() |
DAW JSON Link
|
#include <daw_json_link_types.h>
Public Types | |
using | base_type = json_details::unwrap_type< T, Nullable > |
using | constructor_t = Constructor |
using | i_am_a_json_type = void |
using | parse_to_t = std::invoke_result_t< Constructor, char const *, std::size_t > |
using | wrapped_type = T |
Static Public Attributes | |
static constexpr JsonParseTypes | base_expected_type = JsonParseTypes::Date |
static constexpr JsonParseTypes | expected_type |
static constexpr daw::string_view | name = Name |
static constexpr bool | nullable = Nullable == JsonNullable::Nullable |
static constexpr JsonBaseParseTypes | underlying_json_type |
Link to a JSON string representing a nullable date
Name | name of JSON member to link to |
T | C++ type to construct, by default is a time_point |
Constructor | A Callable used to construct a T. Must accept a char pointer and size as argument to the date/time string. |
Link to a JSON string representing a date
Name | name of JSON member to link to |
T | C++ type to construct, must be a std::chrono::time_point |
Constructor | A Callable used to construct a T. Must accept a char pointer and size as argument to the date/time string. The default is an iso8601 timestamp parser |
Nullable | Can the member be missing or have a null value |
using daw::json::json_date< Name, T, Constructor, Nullable >::base_type = json_details::unwrap_type<T, Nullable> |
using daw::json::json_date< Name, T, Constructor, Nullable >::constructor_t = Constructor |
using daw::json::json_date< Name, T, Constructor, Nullable >::i_am_a_json_type = void |
using daw::json::json_date< Name, T, Constructor, Nullable >::parse_to_t = std::invoke_result_t<Constructor, char const *, std::size_t> |
using daw::json::json_date< Name, T, Constructor, Nullable >::wrapped_type = T |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |