Retrieves the value of the given key from the json file and converts it to a double.
the value of the given key from the json file converted to a double.
the key of the value.