code: def test_cudf_json_roundtrip(jsonl_string, expected):
      gdf = cudf.read_json(
          StringIO(jsonl_string),
          lines=True,
          engine="cudf",
          # dtype=dict(dtypes),
      )
      expected = jsonl_string if expected is None else expected
      gdf_string = gdf.to_json(
          orient="records",
          lines=True,
          engine="cudf",
          include_nulls=False,
      )
      assert_eq(gdf_string, expected.replace(" ", ""))
  
imports: import copy
  import gzip
  import itertools
  import os
  from io import BytesIO, StringIO
  from pathlib import Path
  import numpy
  import pandas
  import pyarrow
  import pytest
  import cudf
  from cudf.testing._utils import DATETIME_TYPES, NUMERIC_TYPES, TIMEDELTA_TYPES, assert_eq
label_desc: Use image node_id 10 for calling a global function with example usage: test_cudf_json_roundtrip(jsonl_string, expected) without return types