How can the (JSON) contents of a Jupyter notebook (i.e. what would be saved in a .ipynb file) be accessed programmatically from within the notebook?
There is the option of forcing the notebook to be saved and then reading back the .ipynb file, but I prefer to not clobber the current .ipynb. Maybe there is a way of at least saving it under another path? That would not be ideal, but that would work.