### Navigation

- index
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »

# 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`

### Navigation

- index
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »