Function JSONToken.opEquals

Enables equality comparisons.

bool opEquals (
  in ref JSONToken other
) const nothrow @trusted;

bool opEquals (
  JSONToken other
) const nothrow;

Note that the location is considered token meta data and thus does not affect the comparison.