Warning

This documentation is for an old version of IPython. You can find docs for newer versions here.

Module: nbformat.v3.nbjson

Read and write notebooks in JSON format.

Authors:

  • Brian Granger

3 Classes

class IPython.nbformat.v3.nbjson.BytesEncoder(skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, sort_keys=False, indent=None, separators=None, encoding='utf-8', default=None)

Bases: json.encoder.JSONEncoder

A JSON encoder that accepts b64 (and other ascii) bytestrings.

class IPython.nbformat.v3.nbjson.JSONReader

Bases: IPython.nbformat.v3.rwbase.NotebookReader

class IPython.nbformat.v3.nbjson.JSONWriter

Bases: IPython.nbformat.v3.rwbase.NotebookWriter