DAW JSON Link
Functions
daw::json::anonymous_namespace{daw_to_json.h} Namespace Reference

Functions

template<typename JsonClass , typename Value , typename WritableType , auto... PolicyFlags DAW_JSON_ENABLEIF2>
 DAW_JSON_REQUIRES (concepts::is_writable_output_type_v< daw::remove_cvref_t< WritableType >>) const expr daw
 
template<typename JsonClass , typename Value , auto... PolicyFlags>
std::string to_json (Value const &value, options::output_flags_t< PolicyFlags... > flgs)
 
template<typename JsonElement , typename Container , auto... PolicyFlags>
std::string to_json_array (Container const &c, options::output_flags_t< PolicyFlags... > flgs)
 

Function Documentation

◆ DAW_JSON_REQUIRES()

template<typename JsonClass , typename Value , typename WritableType , auto... PolicyFlags DAW_JSON_ENABLEIF2>
daw::json::anonymous_namespace{daw_to_json.h}::DAW_JSON_REQUIRES ( concepts::is_writable_output_type_v< daw::remove_cvref_t< WritableType >>  ) const

Definition at line 53 of file daw_to_json.h.

◆ to_json()

template<typename JsonClass , typename Value , auto... PolicyFlags>
std::string daw::json::anonymous_namespace{daw_to_json.h}::to_json ( Value const &  value,
options::output_flags_t< PolicyFlags... >  flgs 
)
inline

Definition at line 77 of file daw_to_json.h.

◆ to_json_array()

template<typename JsonElement , typename Container , auto... PolicyFlags>
std::string daw::json::anonymous_namespace{daw_to_json.h}::to_json_array ( Container const &  c,
options::output_flags_t< PolicyFlags... >  flgs 
)
inline

Definition at line 163 of file daw_to_json.h.