DAW JSON Link
|
#include "impl/version.h"
#include "impl/daw_json_link_types_fwd.h"
#include "impl/daw_json_serialize_policy.h"
Go to the source code of this file.
Classes | |
struct | daw::json::anonymous_namespace{daw_to_json_fwd.h}::options::output_flags_t< PolicyFlags > |
Specify output policy flags in to_json calls. See cookbook item output_options.md. More... | |
struct | daw::json::anonymous_namespace{daw_to_json_fwd.h}::options::output_flags_t<> |
Specify output policy flags in to_json calls. See cookbook item output_options.md. More... | |
Namespaces | |
daw | |
daw::json | |
Customization point traits. | |
daw::json::anonymous_namespace{daw_to_json_fwd.h} | |
daw::json::anonymous_namespace{daw_to_json_fwd.h}::options | |
Functions | |
template<typename JsonClass = use_default, typename Value , auto... PolicyFlags> | |
DAW_JSON_REQUIRES(concepts::is_writable_output_type_v< daw::remove_cvref_t< WritableType >>) const expr daw std::string | daw::json::anonymous_namespace{daw_to_json_fwd.h}::to_json (Value const &value, options::output_flags_t< PolicyFlags... >) |
Serialize a value to JSON. Some types(std::string, string_view, integer's and floating point numbers do not need a mapping setup). For user classes, a json_data_contract specialization is needed. More... | |
template<typename JsonElement = use_default, typename Container , auto... PolicyFlags> | |
DAW_JSON_REQUIRES(concepts::is_writable_output_type_v< daw::remove_cvref_t< WritableType >>) const expr daw std::string | daw::json::anonymous_namespace{daw_to_json_fwd.h}::to_json_array (Container const &c, options::output_flags_t< PolicyFlags... >=options::output_flags<>) |
Variables | |
template<auto... PolicyFlags> | |
constexpr auto | daw::json::anonymous_namespace{daw_to_json_fwd.h}::options::output_flags |
Specify output policy flags in to_json calls. See cookbook item output_options.md. More... | |