[#BloombergLP-bdljsn-operator_eq-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::operator== :relfileprefix: ../../ :mrdocs: Equality operators == Synopses Declared in `<bdljsn_error.h>` Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-040.adoc[operator==]( xref:BloombergLP/bdljsn/Json.adoc[Json] const& lhs, unsigned long long rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-040.adoc[_» more..._]# Process the specified `array` during visitation of a `bdljsn::Json` object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-0f1.adoc[operator==]( xref:BloombergLP/bdljsn/Json.adoc[Json] const& lhs, xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-0f1.adoc[_» more..._]# Process the specified `object` during visitation of a `bdljsn::Json` object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-02a.adoc[operator==]( xref:BloombergLP/bdljsn/Json.adoc[Json] const& lhs, xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-02a.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-03f.adoc[operator==]( xref:BloombergLP/bdljsn/Json.adoc[Json] const& lhs, xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-03f.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-0482.adoc[operator==]( xref:BloombergLP/bdljsn/Json.adoc[Json] const& lhs, xref:BloombergLP/bdljsn/JsonNull-0b.adoc[JsonNull] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-0482.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-077.adoc[operator==]( xref:BloombergLP/bdljsn/Json.adoc[Json] const& lhs, bool rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-077.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-071.adoc[operator==]( xref:BloombergLP/bdljsn/Json.adoc[Json] const& lhs, int rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-071.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-0b.adoc[operator==]( xref:BloombergLP/bdljsn/Json.adoc[Json] const& lhs, unsigned int rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-0b.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-0844.adoc[operator==]( xref:BloombergLP/bdljsn/Json.adoc[Json] const& lhs, long rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-0844.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-0cd.adoc[operator==]( xref:BloombergLP/bdljsn/Json.adoc[Json] const& lhs, unsigned long rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-0cd.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-05f0.adoc[operator==]( xref:BloombergLP/bdljsn/Json.adoc[Json] const& lhs, long long rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-05f0.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-028.adoc[operator==]( std::string_view const& lhs, xref:BloombergLP/bdljsn/Json.adoc[Json] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-028.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-060.adoc[operator==]( xref:BloombergLP/bdljsn/Json.adoc[Json] const& lhs, float rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-060.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-0c8.adoc[operator==]( xref:BloombergLP/bdljsn/Json.adoc[Json] const& lhs, double rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-0c8.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-0e1.adoc[operator==]( xref:BloombergLP/bdljsn/Json.adoc[Json] const& lhs, xref:BloombergLP/bdldfp/Decimal64.adoc[bdldfp::Decimal64] rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-0e1.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-025.adoc[operator==]( xref:BloombergLP/bdljsn/Json.adoc[Json] const& lhs, char const* rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-025.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-089.adoc[operator==]( xref:BloombergLP/bdljsn/Json.adoc[Json] const& lhs, std::string_view const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-089.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` attribute objects have the same value, and `false` otherwise. Two attribute objects have the same value if each respective attribute has the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-07c2.adoc[operator==]( xref:BloombergLP/bdljsn/Location.adoc[Location] const& lhs, xref:BloombergLP/bdljsn/Location.adoc[Location] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-07c2.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` attribute objects have the same value, and `false` otherwise. Two attribute objects have the same value if each respective attribute has the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-01.adoc[operator==]( xref:BloombergLP/bdljsn/Error.adoc[Error] const& lhs, xref:BloombergLP/bdljsn/Error.adoc[Error] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-01.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` attribute objects have the same value, and `false` otherwise. Two attribute objects have the same value if each respective attribute has the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-063.adoc[operator==]( xref:BloombergLP/bdljsn/ReadOptions.adoc[ReadOptions] const& lhs, xref:BloombergLP/bdljsn/ReadOptions.adoc[ReadOptions] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-063.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` attribute objects have the same value, and `false` otherwise. Two attribute objects have the same value if each respective attribute has the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-07c9.adoc[operator==]( xref:BloombergLP/bdljsn/WriteOptions.adoc[WriteOptions] const& lhs, xref:BloombergLP/bdljsn/WriteOptions.adoc[WriteOptions] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-07c9.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-0f8.adoc[operator==]( int lhs, xref:BloombergLP/bdljsn/Json.adoc[Json] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-0f8.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise. Two `JsonNumber` objects have the same value if their `value` attributes are the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-0fe.adoc[operator==]( xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber] const& lhs, xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-0fe.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise. Two `Json` objects `lhs` and `rhs` have the same value if they hold objects of the same type, and those objects have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-0d2.adoc[operator==]( xref:BloombergLP/bdljsn/Json.adoc[Json] const& lhs, xref:BloombergLP/bdljsn/Json.adoc[Json] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-0d2.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise. Two `JsonArray` objects `lhs` and `rhs` have the same value if they have the same number of elements, and each element in the ordered sequence of elements of `lhs` has the same value as the corresponding element in the ordered sequence of elements of `rhs`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-061.adoc[operator==]( xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray] const& lhs, xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-061.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-0dd8.adoc[operator==]( xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject] const& lhs, xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-0dd8.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` arguments have the same value, and `false` otherwise. Two arguments have the same value if the `Json` object has the same value as a `Json` object constructed from the other argument. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-0dd1.adoc[operator==]( xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray] const& lhs, xref:BloombergLP/bdljsn/Json.adoc[Json] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-0dd1.adoc[_» more..._]# Process the specified `object` during visitation of a `bdljsn::Json` object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-048a.adoc[operator==]( xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject] const& lhs, xref:BloombergLP/bdljsn/Json.adoc[Json] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-048a.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-0a8.adoc[operator==]( xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber] const& lhs, xref:BloombergLP/bdljsn/Json.adoc[Json] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-0a8.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-0ac.adoc[operator==]( xref:BloombergLP/bdljsn/JsonNull-0b.adoc[JsonNull] const& lhs, xref:BloombergLP/bdljsn/Json.adoc[Json] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-0ac.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-08e.adoc[operator==]( bool lhs, xref:BloombergLP/bdljsn/Json.adoc[Json] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-08e.adoc[_» more..._]# Return `true` (unconditionally) as the specified `lhs` and `rhs` must have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-032.adoc[operator==]( xref:BloombergLP/bdljsn/JsonNull-0b.adoc[JsonNull] const& lhs, xref:BloombergLP/bdljsn/JsonNull-0b.adoc[JsonNull] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-032.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-05c.adoc[operator==]( unsigned int lhs, xref:BloombergLP/bdljsn/Json.adoc[Json] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-05c.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-00.adoc[operator==]( long lhs, xref:BloombergLP/bdljsn/Json.adoc[Json] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-00.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-062.adoc[operator==]( unsigned long lhs, xref:BloombergLP/bdljsn/Json.adoc[Json] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-062.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-0a1.adoc[operator==]( long long lhs, xref:BloombergLP/bdljsn/Json.adoc[Json] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-0a1.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-0c0.adoc[operator==]( unsigned long long lhs, xref:BloombergLP/bdljsn/Json.adoc[Json] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-0c0.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-0e8.adoc[operator==]( float lhs, xref:BloombergLP/bdljsn/Json.adoc[Json] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-0e8.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-041.adoc[operator==]( double lhs, xref:BloombergLP/bdljsn/Json.adoc[Json] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-041.adoc[_» more..._]# Same as the related overload above for `operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-05ff.adoc[operator==]( xref:BloombergLP/bdldfp/Decimal64.adoc[bdldfp::Decimal64] lhs, xref:BloombergLP/bdljsn/Json.adoc[Json] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-05ff.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` arguments have the same value, and `false` otherwise. Two arguments have the same value if the `Json` object has the same value as a `Json` object constructed from the other argument. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdljsn/operator_eq-084b.adoc[operator==]( char const* lhs, xref:BloombergLP/bdljsn/Json.adoc[Json] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_eq-084b.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#