code: def test_read_json(s3_base, s3so):
      fname = "test_json_reader.json"
      bucket = "json"
      buffer = (
          '{"amount": 100, "name": "Alice"}\n'
          '{"amount": 200, "name": "Bob"}\n'
          '{"amount": 300, "name": "Charlie"}\n'
          '{"amount": 400, "name": "Dennis"}\n'
      )
  
      with s3_context(
          s3_base=s3_base, bucket=bucket, files={fname: buffer}
      ):
          got = cudf.read_json(
              f"s3://{bucket}/{fname}",
              engine="cudf",
              orient="records",
              lines=True,
              storage_options=s3so,
          )
  
      expect = pd.read_json(buffer, lines=True)
      assert_eq(expect, got)
  
imports: import os
  import socket
  from contextlib import contextmanager
  from io import BytesIO
  import numpy
  import pandas
  import pyarrow.fs
  import pytest
  from fsspec.core import get_fs_token_paths
  import cudf
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 19 for calling a global function with example usage: test_read_json(s3_base, s3so) without return types