Node.hash

Calculate a hash value for the given key.

The hash is calculated over the node and its value, recursively. If the node is immutable, this is a fast operation; otherwise, it scales proportionally with the size of the node’s value (for example, with the number of members in the JSON object if this node contains an object).

class Node
uint
hash
()

Return Value

Type: uint

hash value for key