[#nlohmann-basic_json-0e-operator_3way-0b] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-0e.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-0e/const_reference.adoc[const_reference] rhs) const noexcept; ---- == Return Value The relative order of the objects == Parameters [cols=2] |=== | Name | Description | *rhs* | The right operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#