def getMinecraftProfileJSON():
    """Returns a dictionary object with the minecraft profile information"""
    if os.path.isfile(os.path.join(getMinecraftLauncherDirectory(), u"launcher_profiles.json")):
        try:
            with open(os.path.join(getMinecraftLauncherDirectory(), u"launcher_profiles.json"), 'rb') as jsonString:
                minecraftProfilesJSON = json.loads(jsonString.read().decode(sys.getfilesystemencoding()))
            return minecraftProfilesJSON
        except:
            return None
Returns a dictionary object with the minecraft profile information
directories.py