docs: def parse_json_feed_bytes(data: bytes) -> JSONFeed:
      """Parse a JSON feed from a byte-string containing JSON data."""
      try:
          root = json.loads(data)
      except json.decoder.JSONDecodeError:
          raise FeedJSONError('Not a valid JSON document')
  
      return parse_json_feed(root)