DAW JSON Link
Loading...
Searching...
No Matches
Namespaces | Macros | Variables
daw_json_name.h File Reference
#include "daw/json/impl/version.h"
#include "daw/json/impl/daw_json_req_helper.h"
#include <daw/daw_consteval.h>
#include <daw/daw_cpp20_concept.h>
#include <daw/daw_cpp_feature_check.h>
#include <daw/daw_likely.h>
#include <daw/daw_string_view.h>
#include <cstddef>
#include <string_view>
#include <utility>

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::anonymous_namespace{daw_json_name.h}
 

Macros

#define JSONNAMETYPE   char const *
 

Variables

constexpr char const daw::json::anonymous_namespace{daw_json_name.h}::default_key_name [] = "key"
 
constexpr char const daw::json::anonymous_namespace{daw_json_name.h}::default_value_name [] = "value"
 

Macro Definition Documentation

◆ JSONNAMETYPE

#define JSONNAMETYPE   char const *

Definition at line 176 of file daw_json_name.h.