69 static constexpr std::array<std::uint8_t, 9> order = {{
76 const auto l_index =
static_cast<std::size_t
>(lhs);
77 const auto r_index =
static_cast<std::size_t
>(rhs);
78 return l_index < order.size() && r_index < order.size() && order[l_index] < order[r_index];
zip_uint8_t uint8_t
zip_uint8_t typedef.
Definition: zip.hpp:78
bool operator<(const value_t lhs, const value_t rhs) noexcept
comparison operator for JSON types
Definition: value_t.hpp:67
value_t
the JSON type enumeration
Definition: value_t.hpp:41
@ number_integer
number value (signed integer)
@ discarded
discarded by the parser callback function
@ binary
binary array (ordered collection of bytes)
@ object
object (unordered set of name/value pairs)
@ number_float
number value (floating-point)
@ number_unsigned
number value (unsigned integer)
@ array
array (ordered collection of values)
namespace for Niels Lohmann
Definition: adl_serializer.hpp:12