DAW JSON Link
Namespaces | Typedefs | Enumerations | Functions | Variables
daw_json_type_options.h File Reference
#include "daw_json_enums.h"
#include "daw_json_option_bits.h"

Go to the source code of this file.

Namespaces

 daw
 
 daw::json
 
 daw::json::DAW_JSON_VER
 
 daw::json::DAW_JSON_VER::json_details
 

Typedefs

using daw::json::DAW_JSON_VER::bool_opts_t = json_details::JsonOptionList< JsonNullable, LiteralAsStringOpt >
 
using daw::json::DAW_JSON_VER::class_opts_t = json_details::JsonOptionList< JsonNullable >
 
using daw::json::DAW_JSON_VER::json_custom_opts_t = json_details::JsonOptionList< JsonNullable, JsonCustomTypes >
 
using daw::json::DAW_JSON_VER::number_opts_t = json_details::JsonOptionList< JsonNullable, LiteralAsStringOpt, JsonRangeCheck >
 
using daw::json::DAW_JSON_VER::string_opts_t = json_details::JsonOptionList< JsonNullable, EightBitModes, EmptyStringNull >
 
using daw::json::DAW_JSON_VER::string_raw_opts_t = json_details::JsonOptionList< JsonNullable, EightBitModes, EmptyStringNull, AllowEscapeCharacter >
 
using daw::json::DAW_JSON_VER::tuple_opts_t = json_details::JsonOptionList< JsonNullable >
 

Enumerations

enum class  daw::json::DAW_JSON_VER::AllowEscapeCharacter : unsigned { daw::json::DAW_JSON_VER::Allow , daw::json::DAW_JSON_VER::NotBeforeDblQuote }
 
enum class  daw::json::DAW_JSON_VER::EightBitModes : unsigned { daw::json::DAW_JSON_VER::DisallowHigh = false , daw::json::DAW_JSON_VER::AllowFull = true }
 
enum class  daw::json::DAW_JSON_VER::EmptyStringNull : unsigned { daw::json::DAW_JSON_VER::no , daw::json::DAW_JSON_VER::yes }
 
enum class  daw::json::DAW_JSON_VER::JsonCustomTypes : unsigned { daw::json::DAW_JSON_VER::String , daw::json::DAW_JSON_VER::Literal , daw::json::DAW_JSON_VER::Any }
 
enum class  daw::json::DAW_JSON_VER::JsonRangeCheck : unsigned { daw::json::DAW_JSON_VER::Never , daw::json::DAW_JSON_VER::CheckForNarrowing }
 
enum class  daw::json::DAW_JSON_VER::LiteralAsStringOpt : unsigned { daw::json::DAW_JSON_VER::Never , daw::json::DAW_JSON_VER::Maybe , daw::json::DAW_JSON_VER::Always }
 

Functions

template<typename... Options>
constexpr json_details::json_options_t daw::json::DAW_JSON_VER::bool_opt (Options... options)
 
template<typename... Options>
constexpr json_details::json_options_t daw::json::DAW_JSON_VER::class_opt (Options... options)
 
template<typename... Options>
constexpr json_details::json_options_t daw::json::DAW_JSON_VER::json_custom_opt (Options... options)
 
template<typename... Options>
constexpr json_details::json_options_t daw::json::DAW_JSON_VER::number_opt (Options... options)
 
template<typename... Options>
constexpr json_details::json_options_t daw::json::DAW_JSON_VER::string_opt (Options... options)
 
template<typename... Options>
constexpr json_details::json_options_t daw::json::DAW_JSON_VER::string_raw_opt (Options... options)
 
template<typename... Options>
constexpr json_details::json_options_t daw::json::DAW_JSON_VER::tuple_opt (Options... options)
 

Variables

constexpr auto daw::json::DAW_JSON_VER::bool_opts = bool_opts_t{ }
 
constexpr json_details::json_options_t daw::json::DAW_JSON_VER::bool_opts_def
 
constexpr auto daw::json::DAW_JSON_VER::class_opts = class_opts_t{ }
 
constexpr json_details::json_options_t daw::json::DAW_JSON_VER::class_opts_def
 
template<>
constexpr auto daw::json::DAW_JSON_VER::json_details::default_json_option_value< AllowEscapeCharacter >
 
template<>
constexpr auto daw::json::DAW_JSON_VER::json_details::default_json_option_value< EightBitModes >
 
template<>
constexpr auto daw::json::DAW_JSON_VER::json_details::default_json_option_value< EmptyStringNull >
 
template<>
constexpr auto daw::json::DAW_JSON_VER::json_details::default_json_option_value< JsonCustomTypes >
 
template<>
constexpr auto daw::json::DAW_JSON_VER::json_details::default_json_option_value< JsonNullable >
 
template<>
constexpr auto daw::json::DAW_JSON_VER::json_details::default_json_option_value< JsonRangeCheck >
 
template<>
constexpr auto daw::json::DAW_JSON_VER::json_details::default_json_option_value< LiteralAsStringOpt >
 
constexpr auto daw::json::DAW_JSON_VER::json_custom_opts = json_custom_opts_t{ }
 
constexpr json_details::json_options_t daw::json::DAW_JSON_VER::json_custom_opts_def
 
template<>
constexpr unsigned daw::json::DAW_JSON_VER::json_details::json_option_bits_width< AllowEscapeCharacter >
 
template<>
constexpr unsigned daw::json::DAW_JSON_VER::json_details::json_option_bits_width< EightBitModes > = 1
 
template<>
constexpr unsigned daw::json::DAW_JSON_VER::json_details::json_option_bits_width< EmptyStringNull > = 1
 
template<>
constexpr unsigned daw::json::DAW_JSON_VER::json_details::json_option_bits_width< JsonCustomTypes > = 2
 
template<>
constexpr unsigned daw::json::DAW_JSON_VER::json_details::json_option_bits_width< JsonNullable > = 2
 
template<>
constexpr unsigned daw::json::DAW_JSON_VER::json_details::json_option_bits_width< JsonRangeCheck > = 1
 
template<>
constexpr unsigned daw::json::DAW_JSON_VER::json_details::json_option_bits_width< LiteralAsStringOpt > = 2
 
constexpr auto daw::json::DAW_JSON_VER::number_opts = number_opts_t{ }
 
constexpr json_details::json_options_t daw::json::DAW_JSON_VER::number_opts_def
 
constexpr auto daw::json::DAW_JSON_VER::string_opts = string_opts_t{ }
 
constexpr json_details::json_options_t daw::json::DAW_JSON_VER::string_opts_def
 
constexpr auto daw::json::DAW_JSON_VER::string_raw_opts = string_raw_opts_t{ }
 
constexpr json_details::json_options_t daw::json::DAW_JSON_VER::string_raw_opts_def
 
constexpr auto daw::json::DAW_JSON_VER::tuple_opts = tuple_opts_t{ }
 
constexpr json_details::json_options_t daw::json::DAW_JSON_VER::tuple_opts_def