return whether type is primitive
Declared in <nlohmann/json.hpp>
<nlohmann/json.hpp>
constexpr bool is_primitive() const noexcept;
true if the value is null, string, boolean, a number, or binary; false otherwise
true
false