|
template<JSONNAMETYPE NewName> |
using | with_name = json_array< NewName, JsonElement, Container, Constructor, Nullable > |
|
using | without_name = json_base::json_array< JsonElement, Container, Constructor, Nullable > |
|
using | base_type = json_details::unwrapped_t< container_t, nullable > |
|
using | constructor_t = std::conditional_t< std::is_same_v< Constructor, json_deduce_type >, std::conditional_t< nullable==JsonNullable::MustExist, default_constructor< container_t >, nullable_constructor< container_t > >, Constructor > |
|
using | container_t = std::conditional_t< std::is_same_v< Container, json_deduce_type >, std::vector< json_element_parse_to_t >, Container > |
|
using | i_am_a_json_type = void |
|
using | json_element_parse_to_t = typename json_element_t::parse_to_t |
|
using | json_element_t = json_details::json_deduced_type< JsonElement > |
|
using | parse_to_t = typename json_details::construction_result< nullable !=JsonNullable::MustExist, constructor_t, json_element_parse_to_t const *, json_element_parse_to_t const * >::type |
|
template<JSONNAMETYPE NewName> |
using | with_name = daw::json::json_array< NewName, JsonElement, Container, Constructor, Nullable > |
|
using | without_name = json_array |
|
template<
JSONNAMETYPE Name, typename JsonElement, typename Container, typename Constructor,
JsonNullable Nullable>
struct daw::json::DAW_JSON_VER::json_array< Name, JsonElement, Container, Constructor, Nullable >
Link to a JSON array
- Template Parameters
-
Name | name of JSON member to link to |
Container | type of C++ container being constructed(e.g. vector<int>) |
JsonElement | Json type being parsed e.g. json_number, json_string... |
Constructor | A callable used to make Container, default will use the Containers constructor. Both normal and aggregate are supported |
Nullable | Can the member be missing or have a null value |