code: def _read_json(json_path):
      data = []
      with epath.Path(json_path).open() as f:
          for line in f:
              if line:
                  data.append(json.loads(line))
      return data
  
file_path: datasets/tensorflow_datasets/datasets/piqa/piqa_dataset_builder.py
imports: import json
  import os
  from etils import epath
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 for calling a global function with example usage: _read_json(json_path) and returns: data