code: def test_orjson_dumps() -> None:
      obj = {
          "int": 1,
          "bool": True,
          "str": "text",
          "np_array": np.array([1, 2, 3, 4]),
          "np_int64": np.int64(12),
          "pd_timedelta": pd.Timedelta(1, "d"),
          "object": {"a": 1, "b": 10.2},
          "non_string_key": {1: 20},
          "pd_timestmap": pd.Timestamp("2023-10-06"),
      }
      serialized_obj = orjson_dumps(obj)
      assert serialized_obj is not None
  
file_path: datasets-server/libs/libcommon/tests/test_utils.py
imports: from contextlib import nullcontext
  from typing import Any
  import numpy
  import pandas
  import pytest
  from libcommon.exceptions import DatasetInBlockListError
  from libcommon.utils import inputs_to_string, is_image_url, orjson_dumps, raise_if_blocked
label_desc: Use image node_id 4 for calling a global function with example usage: test_orjson_dumps() without return types