Function JSONString.toHash

Support use as hash key

size_t toHash () const nothrow @trusted;