DAW JSON Link
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs
daw_json_iterator.h File Reference
#include "daw/json/impl/version.h"
#include "daw/json/impl/daw_json_link_types_fwd.h"
#include "daw/json/impl/daw_json_parse_class.h"
#include "daw/json/impl/daw_json_parse_value_fwd.h"
#include <daw/daw_cxmath.h>
#include <daw/daw_move.h>
#include <daw/daw_string_view.h>
#include <daw/daw_traits.h>
#include <daw/daw_utility.h>
#include <array>
#include <cstddef>
#include <cstdlib>
#include <iterator>
#include <limits>
#include <optional>
#include <string>
#include <type_traits>

Go to the source code of this file.

Classes

class  daw::json::anonymous_namespace{daw_json_iterator.h}::json_array_iterator_once< JsonElement, PolicyFlags >
 Iterator for iterating over JSON arrays. Requires that operator* and operator++ be called in that sequence one time until end is reached. More...
 
class  daw::json::anonymous_namespace{daw_json_iterator.h}::json_array_iterator_t< JsonElement, ParseState, typename >
 
struct  daw::json::anonymous_namespace{daw_json_iterator.h}::json_array_range< JsonElement, PolicyFlags >
 A range of json_array_iterators. More...
 
struct  daw::json::anonymous_namespace{daw_json_iterator.h}::json_array_range_once< JsonElement, PolicyFlags >
 A range of json_array_iterator_onces. Requires that op*‍/op++ be called in that sequence one time untl end is reached. 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_iterator.h}
 

Typedefs

template<typename JsonElement , auto... PolicyFlags>
using daw::json::anonymous_namespace{daw_json_iterator.h}::json_array_iterator = json_array_iterator_t< JsonElement, TryDefaultParsePolicy< BasicParsePolicy< options::details::make_parse_flags< PolicyFlags... >().value > > >