class_docstr: A JSON notebook reader.
docstr: Convert a string to a notebook.
docstr_tok: ["Convert","a","string","to","a","notebook","."]
code: def to_notebook(self, d, **kwargs):
      """Convert a string to a notebook."""
      return restore_bytes(rejoin_lines(from_dict(d)))
  
file_path: nbformat/nbformat/v2/nbjson.py
imports: from __future__ import annotations
  import copy
  import json
  from .nbbase import from_dict
  from .rwbase import NotebookReader, NotebookWriter, rejoin_lines, restore_bytes, split_lines
label_desc: Use image node_id 2 for calling the JSONReader obj's underlying member method code with example usage: obj.to_notebook(d) and returns: restore_bytes