class_docstr: JSON datasource, for reading and writing JSON and JSONL files.
code: def _read_stream(self, f: "pyarrow.NativeFile", path: str):
      from pyarrow import json
  
      yield json.read_json(
          f, read_options=self.read_options, **self.arrow_json_args
      )
  
imports: from typing import TYPE_CHECKING, Any, Dict, List, Optional, Union
  from ray.data.datasource.file_based_datasource import FileBasedDatasource
  from ray.util.annotations import PublicAPI
label_desc: Use image node_id 2 for calling the JSONDatasource obj's underlying member method code with example usage: obj._read_stream(f, path) without return types