template<template< typename U, typename V, typename... Args > class ObjectType = std::map, template< typename U, typename... Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = std::int64_t, class NumberUnsignedType = std::uint64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator, template< typename T, typename SFINAE=void > class JSONSerializer = adl_serializer, class BinaryType = std::vector<std::uint8_t>>
comparison: not equal
Compares two JSON values for inequality by calculating not (lhs == rhs)
.
- Parameters
-
[in] | lhs | first JSON value to consider |
[in] | rhs | second JSON value to consider |
- Returns
- whether the values lhs and rhs are not equal
@complexity Linear.
@exceptionsafety No-throw guarantee: this function never throws exceptions.
@liveexample{The example demonstrates comparing several JSON types.,operator__notequal}
- Since
- version 1.0.0
Definition at line 24182 of file json.hpp.
24183 {
24184 return !(lhs == rhs);
24185 }