code: def test_order_nested_json_reader(self, tag, data):
      expected = pd.read_json(StringIO(data), lines=True)
      target = cudf.read_json(StringIO(data), lines=True)
      if tag == "dtype_mismatch":
          with pytest.raises(AssertionError):
              # pandas parses integer values in float representation
              # as integer
              assert pa.Table.from_pandas(expected).equals(
                  target.to_arrow()
              )
      elif tag == "missing":
          with pytest.raises(AssertionError):
              # pandas inferences integer with nulls as float64
              assert pa.Table.from_pandas(expected).equals(
                  target.to_arrow()
              )
      else:
          assert pa.Table.from_pandas(expected).equals(
              target.to_arrow()
          )
  
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 2 for calling the TestNestedJsonReaderCommon obj's underlying member method code with example usage: obj.test_order_nested_json_reader(tag, data) without return types