DAW JSON Link
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Variables
daw_json_data_contract.h File Reference
#include "daw/json/impl/version.h"
#include "daw/json/impl/daw_json_req_helper.h"
#include <daw/daw_cpp20_concept.h>
#include <type_traits>

Go to the source code of this file.

Classes

struct  daw::json::anonymous_namespace{daw_json_data_contract.h}::json_data_contract< T, typename >
 Mapping class for JSON data structures to C++. It must be specialized in order to parse to a user class. More...
 

Namespaces

namespace  daw
 
namespace  daw::json
 string_writer grows its string with resize_and_overwrite, leaving the new bytes uninitialized, when the standard library has it. That skips zero filling memory that is overwritten right away, but the bytes past what was written are never initialized, which resize_and_overwrite's precondition does not allow. Define DAW_JSON_NO_LESS_SAFE_STRING_WRITER to grow with resize( ) instead
 
namespace  daw::json::anonymous_namespace{daw_json_data_contract.h}
 

Typedefs

template<typename T >
using daw::json::anonymous_namespace{daw_json_data_contract.h}::json_data_contract_trait_t = typename json_data_contract< T >::type
 This trait gets us the mapping type from the contract.
 

Variables

template<typename T >
constexpr bool daw::json::anonymous_namespace{daw_json_data_contract.h}::is_missing_data_contract_or_unknown_type_v = false
 
template<typename T >
constexpr bool daw::json::anonymous_namespace{daw_json_data_contract.h}::is_missing_data_contract_or_unknown_type_v< missing_json_data_contract_for_or_unknown_type< T > > = true
 
template<>
constexpr bool daw::json::anonymous_namespace{daw_json_data_contract.h}::is_missing_data_contract_or_unknown_type_v< void >