code: def test_readjson_chunks_series(request, engine):
      if engine == "pyarrow":
          # GH 48893
          reason = (
              "Pyarrow only supports a file path as an input and line delimited json"
              "and doesn't support chunksize parameter."
          )
          request.applymarker(pytest.mark.xfail(reason=reason))
  
      # Test reading line-format JSON to Series with chunksize param
      s = pd.Series({"A": 1, "B": 2})
  
      strio = StringIO(s.to_json(lines=True, orient="records"))
      unchunked = read_json(
          strio, lines=True, typ="Series", engine=engine
      )
  
      strio = StringIO(s.to_json(lines=True, orient="records"))
      with read_json(
          strio, lines=True, typ="Series", chunksize=1, engine=engine
      ) as reader:
          chunked = pd.concat(reader)
  
      tm.assert_series_equal(chunked, unchunked)
  
imports: from collections.abc import Iterator
  from io import StringIO
  from pathlib import Path
  import numpy
  import pytest
  import pandas
  from pandas import DataFrame, read_json
  import pandas._testing
  from pandas.io.json._json import JsonReader
label_desc: Use image node_id 11 for calling a global function with example usage: test_readjson_chunks_series(request, engine) without return types