def read_jsonlines(path):
  """Read jsonlines file from the path.

  Args:
    path: Path to json file

  Returns:
    List of objects decoded from each line
  """
  entries = []
  with safe_open(path) as f:
    for line in f:
      entries.append(json.loads(line))
  return entries
Read jsonlines file from the path.

  Args:
    path: Path to json file

  Returns:
    List of objects decoded from each line
  
language/serene/util.py