DAW JSON Link
Static Public Attributes | List of all members
daw::json::DAW_JSON_VER::non_discriminated_variant_base_map< json_variant_type_list< JsonElements... > > Struct Template Reference

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 Public Attributes

static constexpr std::size_t base_map [5]
 

Detailed Description

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
JsonElementsThe types we are mapping to

Member Data Documentation

◆ base_map

template<typename... JsonElements>
constexpr std::size_t daw::json::DAW_JSON_VER::non_discriminated_variant_base_map< json_variant_type_list< JsonElements... > >::base_map[5]
staticconstexpr
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: