diff --git a/src/json.hpp b/src/json.hpp index bd91a615..0c477a0d 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -267,6 +267,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