code: def test_json_nested_basic():
      bytes_obj = BytesIO()
      data = {
          "c1": [
              {"f1": "sf11", "f2": "sf21"},
              {"f1": "sf12", "f2": "sf22"},
          ],
          "c2": [["l11", "l21"], ["l12", "l22"]],
      }
      pdf = pd.DataFrame(data)
      pdf.to_json(bytes_obj, orient="records")
  
      df = cudf.read_json(bytes_obj, engine="cudf", orient="records")
      bytes_obj.seek(0)
      pdf = pd.read_json(bytes_obj, orient="records")
  
      assert_eq(pdf, df)
  
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 31 for calling a global function with example usage: test_json_nested_basic() without return types