DAW JSON Link
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
daw_json_link.h File Reference
#include "daw/json/impl/version.h"
#include "daw/json/daw_from_json.h"
#include "daw/json/daw_json_apply.h"
#include "daw/json/daw_json_exception.h"
#include "daw/json/daw_json_link_types.h"
#include "daw/json/daw_to_json.h"
#include "daw/json/impl/daw_json_alternate_mapping.h"
#include "daw/json/impl/daw_json_reflection.h"
#include "daw/json/impl/daw_json_value.h"
#include <daw/daw_consteval.h>

Go to the source code of this file.

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::literals
 

Macros

#define DAW_STR(x)   std::string_view( #x )
 
#define DAW_XSTR(x)   DAW_STR( x )
 

Functions

DAW_CONSTEVAL std::string_view daw::json::anonymous_namespace{daw_json_link.h}::json_link_version ()
 
DAW_CONSTEVAL daw::json::json_value daw::json::literals::operator""_dawjson (char const *ptr, std::size_t sz)
 

Macro Definition Documentation

◆ DAW_STR

#define DAW_STR (   x)    std::string_view( #x )

◆ DAW_XSTR

#define DAW_XSTR (   x)    DAW_STR( x )