code: def json_writer_test_params(pdf, compression, dtype):
      gdf = cudf.from_pandas(pdf)
  
      pdf_buffer = pdf.to_json(
          lines=True, orient="records", compression=compression
      )
      gdf_buffer = gdf.to_json(
          lines=True, orient="records", compression=compression
      )
  
      # TODO: Uncomment once this is fixed:
      # https://github.com/rapidsai/cudf/issues/6429
      # compare_content(pdf_buffer, gdf_buffer)
  
      actual = cudf.read_json(
          io.StringIO(gdf_buffer),
          engine="cudf",
          lines=True,
          orient="records",
          dtype=dtype,
      )
      expected = pd.read_json(
          io.StringIO(pdf_buffer),
          lines=True,
          orient="records",
          dtype=dtype,
      )
  
      # Difference in behaviour with pandas
      # cudf reads column as strings only.
      expected.columns = expected.columns.astype("str")
      assert_eq(actual, expected)
  
file_path: cudf/python/cudf/cudf/_fuzz_testing/tests/fuzz_test_json.py
imports: import io
  import sys
  import pandas
  import cudf
  from cudf._fuzz_testing.json import JSONReader, JSONWriter
  from cudf._fuzz_testing.main import pythonfuzz
  from cudf._fuzz_testing.utils import ALL_POSSIBLE_VALUES, run_test
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 4 for calling a global function with example usage: json_writer_test_params(pdf, compression, dtype) without return types