![]() |
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, base_type > |
using | wrapped_type = T |
Static Public Attributes | |
static constexpr JsonParseTypes | base_expected_type |
static constexpr JsonParseTypes | expected_type |
static constexpr LiteralAsStringOpt | literal_as_string = LiteralAsString |
static constexpr daw::string_view | name = Name |
static constexpr bool | nullable = Nullable == JsonNullable::Nullable |
static constexpr JsonRangeCheck | range_check = RangeCheck |
static constexpr JsonBaseParseTypes | underlying_json_type |
The member is a range checked number
Name | name of json member |
T | type of number(e.g. double, int, unsigned...) to pass to Constructor |
LiteralAsString | Could this number be embedded in a string |
Constructor | Callable used to construct result |
Nullable | Can the member be missing or have a null value |
The member is a number
Name | name of json member |
T | type of number(e.g. double, int, unsigned...) to pass to Constructor |
LiteralAsString | Could this number be embedded in a string |
Constructor | Callable used to construct result |
RangeCheck | Check if the value will fit in the result |
Nullable | Can the member be missing or have a null value |
using DAW_JSON_NS::json_number< Name, T, LiteralAsString, Constructor, RangeCheck, Nullable >::base_type = json_details::unwrap_type<T, Nullable> |
using DAW_JSON_NS::json_number< Name, T, LiteralAsString, Constructor, RangeCheck, Nullable >::constructor_t = Constructor |
using DAW_JSON_NS::json_number< Name, T, LiteralAsString, Constructor, RangeCheck, Nullable >::i_am_a_json_type = void |
using DAW_JSON_NS::json_number< Name, T, LiteralAsString, Constructor, RangeCheck, Nullable >::parse_to_t = std::invoke_result_t<Constructor, base_type> |
using DAW_JSON_NS::json_number< Name, T, LiteralAsString, Constructor, RangeCheck, Nullable >::wrapped_type = T |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |