![]() |
DAW JSON Link
|
#include <daw_json_link_types.h>
Public Types | |
template<JSONNAMETYPE NewName> | |
using | with_name = json_date< NewName, T, Constructor, Nullable > |
using | without_name = json_base::json_date< T, Constructor, Nullable > |
![]() | |
using | base_type = json_details::unwrap_type< T, Nullable > |
using | constructor_t = Constructor |
using | i_am_a_json_type = void |
using | parse_to_t = typename json_details::construction_result< Nullable !=JsonNullable::MustExist, Constructor, char const *, std::size_t >::type |
template<JSONNAMETYPE NewName> | |
using | with_name = daw::json::json_date< NewName, T, Constructor, Nullable > |
using | without_name = json_date |
using | wrapped_type = T |
Static Public Attributes | |
static constexpr daw::string_view | name = Name |
![]() | |
static constexpr JsonParseTypes | base_expected_type |
static constexpr JsonParseTypes | expected_type |
static constexpr bool | must_be_class_member = false |
static constexpr daw::string_view | name = no_name |
static constexpr JsonNullable | nullable = 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::DAW_JSON_VER::json_date< Name, T, Constructor, Nullable >::with_name = json_date<NewName, T, Constructor, Nullable> |
using daw::json::DAW_JSON_VER::json_date< Name, T, Constructor, Nullable >::without_name = json_base::json_date<T, Constructor, Nullable> |
|
staticconstexpr |