import json


def get_json(data):
    """
    Attempts to load json from data.

    @param data - String containing json
    @return - Dictionary|None

    """
    try:
        return json.loads(data)
    except ValueError:
        return None