[#nlohmann-basic_json-05-operator_3way-05] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-05.adoc[basic_json<>]::operator<=> :relfileprefix: ../../ :mrdocs: Three‐way comparison operator == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::partial_ordering operator<=>(xref:nlohmann/basic_json-05/const_reference.adoc[const_reference] 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]#