def get_json_data(json_dict):
    """

    Parameters
    ----------
    json_dict : :obj:`dict`
        QCJSON dictionary.

    Returns
    -------
    :obj:`list` [:obj:`int`]
        Atomic numbers of all atoms
    :obj:`list` [:obj:`float`]
        Cartesian coordinates.
    :obj:`float`
        Total energy of the structure
    :obj:`list` [:obj:`float`]
        Gradients of the structure.
    """
    atom_nums = json_dict['atomic_numbers']
    coords = json_dict['molecule']['geometry']
    energy = json_dict['properties']['return_energy']
    gradient = json_dict['return_result']
    return atom_nums, coords, energy, gradient