diff --git a/src/json.hpp b/src/json.hpp index c23c213f5..ca660b8de 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -252,6 +252,19 @@ struct is_compatible_float_type std::is_floating_point::value; }; +template +struct is_compatible_basic_json_type +{ + static auto constexpr value = disjunction< + is_compatible_array_type, + is_compatible_object_type, + is_compatible_float_type, + is_compatible_integer_type, + is_compatible_unsigned_integer_type, + std::is_constructible, + std::is_same>::value; +}; + template