code: def test_json_nested_data():
      json_str = (
          '[{"0":{},"2":{}},{"1":[[""],[]],"2":{"2":""}},'
          '{"0":{"a":"1"},"2":{"0":"W&RR=+I","1":""}}]'
      )
      df = cudf.read_json(
          StringIO(json_str), engine="cudf", orient="records"
      )
      pdf = pd.read_json(StringIO(json_str), orient="records")
      pdf.columns = pdf.columns.astype("str")
      pa_table_pdf = pa.Table.from_pandas(
          pdf, schema=df.to_arrow().schema, safe=False
      )
      assert df.to_arrow().equals(pa_table_pdf)
  
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 33 for calling a global function with example usage: test_json_nested_data() without return types