string_hash


Description:

[ Version ( since = "1.2" ) ]
public uint string_hash (string key)

Calculate a hash value for the given key (a UTF-8 JSON string).

Note: Member names are compared byte-wise, without applying any Unicode decomposition or normalisation. This is not explicitly mentioned in the JSON standard (ECMA-404), but is assumed.

Parameters:

key

a JSON string to hash

Returns:

hash value for key


Namespace: Json
Package: json-glib-1.0