65 static constexpr std::array<std::uint8_t, 8> order = {{
71 const auto l_index =
static_cast<std::size_t
>(lhs);
72 const auto r_index =
static_cast<std::size_t
>(rhs);
73 return l_index < order.size() and r_index < order.size() and order[l_index] < order[r_index];
value_t
the JSON type enumeration
Definition: value_t.hpp:40
array (ordered collection of values)
number value (signed integer)
bool operator<(const value_t lhs, const value_t rhs) noexcept
comparison operator for JSON types
Definition: value_t.hpp:63
namespace for Niels Lohmann
Definition: adl_serializer.hpp:8
object (unordered set of name/value pairs)
number value (unsigned integer)
number value (floating-point)
discarded by the the parser callback function