DAW JSON Link
Namespaces | Functions
daw_from_json.h File Reference
#include "impl/version.h"
#include "daw_from_json_fwd.h"
#include "impl/daw_json_parse_class.h"
#include "impl/daw_json_parse_value.h"
#include "impl/daw_json_value.h"
#include <daw/daw_data_end.h>
#include <daw/traits/daw_traits_conditional.h>
#include <daw/stdinc/data_access.h>
#include <daw/stdinc/move_fwd_exch.h>
#include <string_view>

Go to the source code of this file.

Namespaces

 daw
 
 daw::json
 Customization point traits.
 
 daw::json::anonymous_namespace{daw_from_json.h}
 

Functions

template<typename JsonMember , bool KnownBounds, json_options_t P, typename Allocator , auto... PolicyFlags>
constexpr auto daw::json::anonymous_namespace{daw_from_json.h}::from_json (basic_json_value< P, Allocator > value, options::parse_flags_t< PolicyFlags... >)
 Parse a value from a json_value. More...
 
template<typename JsonMember , bool KnownBounds, json_options_t P, typename Allocator , auto... PolicyFlags>
constexpr auto daw::json::anonymous_namespace{daw_from_json.h}::from_json (basic_json_value< P, Allocator > value, std::string_view member_path, options::parse_flags_t< PolicyFlags... >)
 Parse a JSONMember from the json_data starting at member_path. More...
 
template<typename JsonMember , bool KnownBounds, json_options_t PolicyFlags, typename Allocator >
constexpr auto daw::json::anonymous_namespace{daw_from_json.h}::from_json (basic_json_value< PolicyFlags > value, std::string_view member_path)
 Parse a JSONMember from the json_data starting at member_path. More...
 
template<typename JsonMember , bool KnownBounds, json_options_t PolicyFlags, typename Allocator >
constexpr auto daw::json::anonymous_namespace{daw_from_json.h}::from_json (basic_json_value< PolicyFlags, Allocator > value)
 Parse a value from a json_value. More...
 
template<typename JsonMember , bool KnownBounds, typename String >
constexpr auto daw::json::anonymous_namespace{daw_from_json.h}::from_json (String &&json_data)
 Construct the JSONMember from the JSON document argument. More...
 
template<typename JsonMember , bool KnownBounds, typename String , auto... PolicyFlags>
constexpr auto daw::json::anonymous_namespace{daw_from_json.h}::from_json (String &&json_data, options::parse_flags_t< PolicyFlags... >)
 Construct the JSONMember from the JSON document argument. More...
 
template<typename JsonMember , bool KnownBounds, typename String >
constexpr auto daw::json::anonymous_namespace{daw_from_json.h}::from_json (String &&json_data, std::string_view member_path)
 Parse a JSONMember from the json_data starting at member_path. More...
 
template<typename JsonMember , bool KnownBounds, typename String , auto... PolicyFlags>
constexpr auto daw::json::anonymous_namespace{daw_from_json.h}::from_json (String &&json_data, std::string_view member_path, options::parse_flags_t< PolicyFlags... >)
 Parse a JSONMember from the json_data starting at member_path. More...
 
template<typename JsonMember , bool KnownBounds, typename String , typename Allocator >
constexpr auto daw::json::anonymous_namespace{daw_from_json.h}::from_json_alloc (String &&json_data, Allocator const &alloc)
 Construct the JSONMember from the JSON document argument. More...
 
template<typename JsonMember , bool KnownBounds, typename String , typename Allocator , auto... PolicyFlags>
constexpr auto daw::json::anonymous_namespace{daw_from_json.h}::from_json_alloc (String &&json_data, Allocator const &alloc, options::parse_flags_t< PolicyFlags... >)
 Construct the JSONMember from the JSON document argument. More...
 
template<typename JsonMember , bool KnownBounds, typename String , typename Allocator >
constexpr auto daw::json::anonymous_namespace{daw_from_json.h}::from_json_alloc (String &&json_data, std::string_view member_path, Allocator const &alloc)
 Parse a JSONMember from the json_data starting at member_path. More...
 
template<typename JsonMember , bool KnownBounds, typename String , typename Allocator , auto... PolicyFlags>
constexpr auto daw::json::anonymous_namespace{daw_from_json.h}::from_json_alloc (String &&json_data, std::string_view member_path, Allocator const &alloc, options::parse_flags_t< PolicyFlags... >)
 Parse a JSON Member from the json_data starting at member_path. More...
 
template<typename JsonElement , typename Container , typename Constructor , bool KnownBounds, typename String >
constexpr Container daw::json::anonymous_namespace{daw_from_json.h}::from_json_array (String &&json_data)
 Parse JSON data where the root item is an array. More...
 
template<typename JsonElement , typename Container , typename Constructor , bool KnownBounds, typename String , auto... PolicyFlags>
constexpr Container daw::json::anonymous_namespace{daw_from_json.h}::from_json_array (String &&json_data, options::parse_flags_t< PolicyFlags... >)
 Parse JSON data where the root item is an array. More...
 
template<typename JsonElement , typename Container , typename Constructor , bool KnownBounds, typename String >
constexpr Container daw::json::anonymous_namespace{daw_from_json.h}::from_json_array (String &&json_data, std::string_view member_path)
 Parse JSON data where the root item is an array. More...
 
template<typename JsonElement , typename Container , typename Constructor , bool KnownBounds, typename String , auto... PolicyFlags>
constexpr Container daw::json::anonymous_namespace{daw_from_json.h}::from_json_array (String &&json_data, std::string_view member_path, options::parse_flags_t< PolicyFlags... >)
 Parse JSON data where the root item is an array. More...