Return whether lhs and rhs have the same value.

Synopsis

Declared in <bdljsn_json.h>

bool
operator==(
    JsonObject const& lhs,
    JsonObject const& rhs);

Description

Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two JsonObject objects have the same value if they have the same number of Member objects, and for each Member object that is contained in lhs there is a key‐value pair contained in rhs having the same value, and vice versa.

Return Value

true if lhs and rhs have the same value, and false otherwise

Parameters

Name

Description

lhs

left‐hand operand

rhs

right‐hand operand

Created with MrDocs