import json


def get_json(response):
    """Decode the JSON records from the response.

    :param http.client.HTTPResponse response:
        response from the API.
    :return:
        returns a results decoded to json.
    :rtype:
        list
    """
    return json.loads(response)