Function Json.opEquals
Compares two JSON values for equality.
bool opEquals
(
ref const(Json) other
) @trusted const;
bool opEquals
(
const(Json) other
) @safe const;
bool opEquals
(
typeof(null) __param_0
) @safe const;
bool opEquals
(
bool v
) @safe const;
bool opEquals
(
int v
) @trusted const;
bool opEquals
(
long v
) @trusted const;
bool opEquals
(
std .bigint .BigInt v
) @trusted const;
bool opEquals
(
double v
) @safe const;
bool opEquals
(
string v
) @trusted const;
If the two values have different types, they are considered unequal. This differs with ECMA script, which performs a type conversion before comparing the values.