code: def json(cls, body, status=200, headers=None, default=None):
      return cls(
          json.dumps(body, default=default),
          status=status,
          headers=headers,
          content_type="application/json; charset=utf-8",
      )
  
imports: import json
  from datasette.utils import MultiParams
  from mimetypes import guess_type
  from urllib.parse import parse_qs, urlunparse, parse_qsl
  from pathlib import Path
  from http.cookies import SimpleCookie, Morsel
  import aiofiles
  import aiofiles.os
label_desc: Use image node_id 5 for calling the Response obj's underlying member method code with example usage: obj.json(cls, body, status, headers, default) and returns: cls