hash


Description:

[ Version ( since = "1.2" ) ]
public uint hash ()

Calculate a hash value for the given this.

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).

Parameters:

this

a JSON node to hash

Returns:

hash value for this




2022 vala-language.org