[#nlohmann-basic_json-05-operator_3way-07] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-05.adoc[basic_json<>]::operator<=> :relfileprefix: ../../ :mrdocs: comparison: 3‐way == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename ScalarType> requires std::is_scalar_v<ScalarType> std::partial_ordering operator<=>(ScalarType rhs) const noexcept; ---- == Return Value The relative order of the objects == Parameters [cols="1,4"] |=== |Name|Description | *rhs* | The right operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#