docstr: Override the default JSONResponse behavior to encode numpy arrays.
  
  Args:
      content: JSON object to be serialized.
  
  Returns: str
docstr_tok: ["Override","the","default","JSONResponse","behavior","to","encode","numpy","arrays",".","Args",":","content",":","JSON","object","to","be","serialized",".","Returns",":","str"]
code: def render(self, content: Dict[str, Any]) -> str:
      """Override the default JSONResponse behavior to encode numpy arrays.
  
      Args:
          content: JSON object to be serialized.
  
      Returns: str
      """
      return json.dumps(
          content,
          ensure_ascii=False,
          allow_nan=False,
          indent=None,
          separators=(",", ":"),
          cls=NumpyEncoder,
      ).encode("utf-8")
  
file_path: ludwig/ludwig/utils/server_utils.py
imports: import json
  import os
  import tempfile
  from typing import Any, Dict, Union
  import numpy
  import pandas
  from starlette.datastructures import UploadFile
  from starlette.responses import JSONResponse
  from ludwig.utils.data_utils import NumpyEncoder
label_desc: Use image node_id 1 for calling the NumpyJSONResponse obj's underlying member method code with example usage: obj.render(content) and returns: json