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

#include <daw_json_link_types.h>

Public Types

using element_map_t = std::tuple< json_details::unnamed_default_type_mapping< JsonElements >... >
 
using i_am_variant_type_list = void
 

Static Public Attributes

static constexpr std::size_t base_map [5]
 

Member Typedef Documentation

◆ element_map_t

template<typename... JsonElements>
using daw::json::json_variant_type_list< JsonElements >::element_map_t = std::tuple<json_details::unnamed_default_type_mapping<JsonElements>...>

◆ i_am_variant_type_list

template<typename... JsonElements>
using daw::json::json_variant_type_list< JsonElements >::i_am_variant_type_list = void

Member Data Documentation

◆ base_map

template<typename... JsonElements>
constexpr std::size_t daw::json::json_variant_type_list< JsonElements >::base_map[5]
staticconstexpr
Initial value:
= {
json_details::find_json_element<JsonBaseParseTypes::Number>(
{ json_details::unnamed_default_type_mapping<
JsonElements>::underlying_json_type... } ),
json_details::find_json_element<JsonBaseParseTypes::Bool>(
{ json_details::unnamed_default_type_mapping<
JsonElements>::underlying_json_type... } ),
json_details::find_json_element<JsonBaseParseTypes::String>(
{ json_details::unnamed_default_type_mapping<
JsonElements>::underlying_json_type... } ),
json_details::find_json_element<JsonBaseParseTypes::Class>(
{ json_details::unnamed_default_type_mapping<
JsonElements>::underlying_json_type... } ),
json_details::find_json_element<JsonBaseParseTypes::Array>(
{ json_details::unnamed_default_type_mapping<
JsonElements>::underlying_json_type... } ) }

The documentation for this struct was generated from the following file: