|
template<JSONNAMETYPE NewName> |
using | with_name = json_custom< NewName, T, FromJsonConverter, ToJsonConverter, Options > |
|
using | without_name = json_base::json_custom< T, FromJsonConverter, ToJsonConverter, Options > |
|
using | base_type = json_details::unwrap_type< T, nullable > |
|
using | constructor_t = FromJsonConverter |
|
using | from_converter_t = FromJsonConverter |
|
using | i_am_a_json_type = void |
|
using | parse_to_t = typename json_details::construction_result< nullable !=JsonNullable::MustExist, FromJsonConverter, std::string_view >::type |
|
using | to_converter_t = ToJsonConverter |
|
template<JSONNAMETYPE NewName> |
using | with_name = daw::json::json_custom< NewName, T, FromJsonConverter, ToJsonConverter, Options > |
|
using | without_name = json_custom |
|
template<JSONNAMETYPE Name, typename T, typename FromJsonConverter, typename ToJsonConverter, json_details::json_options_t Options>
struct daw::json::DAW_JSON_VER::json_custom< Name, T, FromJsonConverter, ToJsonConverter, Options >
Allow parsing of a nullable type that does not fit
- Template Parameters
-
Name | Name of JSON member to link to |
T | type of value being constructed |
FromJsonConverter | Callable that accepts a std::string_view of the range to parse |
ToJsonConverter | Returns a string from the value |
JsonRawType | JSON type value is encoded as literal/string |
Allow parsing of a type that does not fit
- Template Parameters
-
Name | Name of JSON member to link to |
T | type of value being constructed |
FromJsonConverter | Callable that accepts a std::string_view of the range to parse. The default requires an overload of from_string( daw::tag<T>, std::string_view ) that returns a T |
ToJsonConverter | Returns a string from the value. The default requires a to_string( T const & ) overload that returns a String like type |
JsonRawType | JSON type value is encoded as literal/string/any |
Nullable | Can the member be missing or have a null value |