DAW JSON Link
Namespaces | Functions
daw_json_apply.h File Reference
#include "daw_json_link.h"
#include <daw/daw_function_traits.h>
#include <string_view>
#include <tuple>
#include <type_traits>

Go to the source code of this file.

Namespaces

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

Functions

template<typename Signature = use_default, typename String , typename Callable DAW_JSON_ENABLEIF>
constexpr auto daw::json::anonymous_namespace{daw_json_apply.h}::json_apply (String &&json_doc, Callable &&callable)
 Parse to parameters specified in signature and pass them to Callable for evaluation. This is similar to std::apply but using JSON documents instead of tuples. More...
 
template<typename Signature = use_default, typename String , auto... PolicyFlags, typename Callable DAW_JSON_ENABLEIF>
constexpr auto daw::json::anonymous_namespace{daw_json_apply.h}::json_apply (String &&json_doc, daw::json::options::parse_flags_t< PolicyFlags... > flags, Callable &&callable)
 Parse to parameters specified in signature and pass them to Callable for evaluation. This is similar to std::apply but using JSON documents instead of tuples. More...
 
template<typename Signature = use_default, typename String , typename Callable DAW_JSON_ENABLEIF>
constexpr auto daw::json::anonymous_namespace{daw_json_apply.h}::json_apply (String &&json_doc, std::string_view json_path, Callable &&callable)
 Parse to parameters specified in signature and pass them to Callable for evaluation. This is similar to std::apply but using JSON documents instead of tuples. More...
 
template<typename Signature = use_default, typename String , auto... PolicyFlags, typename Callable DAW_JSON_ENABLEIF>
constexpr auto daw::json::anonymous_namespace{daw_json_apply.h}::json_apply (String &&json_doc, std::string_view json_path, daw::json::options::parse_flags_t< PolicyFlags... > flags, Callable &&callable)
 Parse to parameters specified in signature and pass them to Callable for evaluation. This is similar to std::apply but using JSON documents instead of tuples. More...