IPython Documentation

Table Of Contents

Previous topic

Module: nbformat.v2.nbbase

Next topic

Module: nbformat.v2.nbpy

This Page

Warning

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

Module: nbformat.v2.nbjson

Read and write notebooks in JSON format.

Authors:

  • Brian Granger

3 Classes

class IPython.nbformat.v2.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.v2.nbjson.JSONReader

Bases: IPython.nbformat.v2.rwbase.NotebookReader

class IPython.nbformat.v2.nbjson.JSONWriter

Bases: IPython.nbformat.v2.rwbase.NotebookWriter