This ensures that we only map to up to one of each of the basic JSON types(Number, Bool, String, Array, Class) plus being optionally nullable.
More...
#include <daw_json_link_types.h>
|
static constexpr std::size_t | base_map [5] |
|
template<typename... JsonElements>
struct daw::json::DAW_JSON_VER::non_discriminated_variant_base_map< json_variant_type_list< JsonElements... > >
This ensures that we only map to up to one of each of the basic JSON types(Number, Bool, String, Array, Class) plus being optionally nullable.
- Template Parameters
-
JsonElements | The types we are mapping to |
◆ base_map
template<typename... JsonElements>
Initial value:= {
json_details::find_json_element<JsonBaseParseTypes::Number>(
JsonElements>::underlying_json_type... } ),
json_details::find_json_element<JsonBaseParseTypes::Bool>(
JsonElements>::underlying_json_type... } ),
json_details::find_json_element<JsonBaseParseTypes::String>(
JsonElements>::underlying_json_type... } ),
json_details::find_json_element<JsonBaseParseTypes::Class>(
JsonElements>::underlying_json_type... } ),
json_details::find_json_element<JsonBaseParseTypes::Array>(
JsonElements>::underlying_json_type... } ) }
typename json_type_deducer< T, has_json_data_contract_trait_v< T >, json_details::is_a_json_type_v< T >, has_json_link_quick_map_v< T >, is_container_v< T > >::type json_deduced_type
Definition: daw_json_parse_common.h:931
The documentation for this struct was generated from the following file: