getInt

public int getInt(String key)(source)

Retrieves the value of the given key from the json file and converts it to an int.

Return

the value of the given key from the json file converted to an int.

Parameters

key

the key of the value.