BloombergLP::bdljsn::operator==

Equality operators

Synopses

Declared in <bdljsn_error.h>

Same as the related overload above for operator==.

bool
operator==(
    Json const& lhs,
    unsigned long long rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    Json const& lhs,
    JsonArray const& rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    Json const& lhs,
    JsonObject const& rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    Json const& lhs,
    JsonNumber const& rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    Json const& lhs,
    JsonNull const& rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    Json const& lhs,
    bool rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    Json const& lhs,
    int rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    Json const& lhs,
    unsigned int rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    Json const& lhs,
    long rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    Json const& lhs,
    unsigned long rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    Json const& lhs,
    long long rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    std::string_view const& lhs,
    Json const& rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    Json const& lhs,
    float rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    Json const& lhs,
    double rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    Json const& lhs,
    bdldfp::Decimal64 rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    Json const& lhs,
    char const* rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    Json const& lhs,
    std::string_view const& rhs);
» more...

Return true if the specified lhs and rhs have the same value.

bool
operator==(
    Location const& lhs,
    Location const& rhs);
» more...

Return true if the specified lhs and rhs attribute objects have the same value, and false otherwise.

bool
operator==(
    Error const& lhs,
    Error const& rhs);
» more...

Return true if the specified lhs and rhs have the same value.

bool
operator==(
    ReadOptions const& lhs,
    ReadOptions const& rhs);
» more...

Return true if the specified lhs and rhs attribute objects have the same value, and false otherwise.

bool
operator==(
    WriteOptions const& lhs,
    WriteOptions const& rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    int lhs,
    Json const& rhs);
» more...

Return true if the specified lhs and rhs have the same value.

bool
operator==(
    JsonNumber const& lhs,
    JsonNumber const& rhs);
» more...

Return whether lhs and rhs have the same value.

bool
operator==(
    Json const& lhs,
    Json const& rhs);
» more...

Return whether lhs and rhs have the same value.

bool
operator==(
    JsonArray const& lhs,
    JsonArray const& rhs);
» more...

Return whether lhs and rhs have the same value.

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

Return whether lhs and rhs have the same value.

bool
operator==(
    JsonArray const& lhs,
    Json const& rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    JsonObject const& lhs,
    Json const& rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    JsonNumber const& lhs,
    Json const& rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    JsonNull const& lhs,
    Json const& rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    bool lhs,
    Json const& rhs);
» more...

Return true (unconditionally) as the specified lhs and rhs must have the same value.

bool
operator==(
    JsonNull const& lhs,
    JsonNull const& rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    unsigned int lhs,
    Json const& rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    long lhs,
    Json const& rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    unsigned long lhs,
    Json const& rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    long long lhs,
    Json const& rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    unsigned long long lhs,
    Json const& rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    float lhs,
    Json const& rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    double lhs,
    Json const& rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    bdldfp::Decimal64 lhs,
    Json const& rhs);
» more...

Same as the related overload above for operator==.

bool
operator==(
    char const* lhs,
    Json const& rhs);
» more...

Return Value

  • true if lhs and rhs have the same value, and false otherwise
  • true if lhs and rhs have the same value, and false otherwise
  • true if both objects have the same value, and false otherwise
  • true if both objects have the same value, and false otherwise
  • true (unconditionally)

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand