![]() |
DAW JSON Link
|
#include <daw_json_link_types.h>
Public Types | |
using | base_type = json_details::unwrap_type< Container, Nullable > |
using | constructor_t = Constructor |
using | i_am_a_json_type = void |
using | json_element_t = json_details::json_deduced_type< JsonElement > |
using | parse_to_t = std::invoke_result_t< Constructor > |
template<JSONNAMETYPE NewName> | |
using | with_name = json_array_detect< NewName, JsonElement, Container, Constructor, Nullable > |
Static Public Attributes | |
static constexpr JsonParseTypes | base_expected_type |
static constexpr JsonParseTypes | expected_type |
static constexpr daw::string_view | name = Name |
static constexpr JsonNullable | nullable = Nullable |
static constexpr JsonBaseParseTypes | underlying_json_type |
Link to a JSON array that has been detected
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 |
using daw::json::DAW_JSON_VER::json_details::json_array_detect< Name, JsonElement, Container, Constructor, Nullable >::base_type = json_details::unwrap_type<Container, Nullable> |
using daw::json::DAW_JSON_VER::json_details::json_array_detect< Name, JsonElement, Container, Constructor, Nullable >::constructor_t = Constructor |
using daw::json::DAW_JSON_VER::json_details::json_array_detect< Name, JsonElement, Container, Constructor, Nullable >::i_am_a_json_type = void |
using daw::json::DAW_JSON_VER::json_details::json_array_detect< Name, JsonElement, Container, Constructor, Nullable >::json_element_t = json_details::json_deduced_type<JsonElement> |
using daw::json::DAW_JSON_VER::json_details::json_array_detect< Name, JsonElement, Container, Constructor, Nullable >::parse_to_t = std::invoke_result_t<Constructor> |
using daw::json::DAW_JSON_VER::json_details::json_array_detect< Name, JsonElement, Container, Constructor, Nullable >::with_name = json_array_detect<NewName, JsonElement, Container, Constructor, Nullable> |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |