code: def convert_to_line_delimits(s: str) -> str:
      """
      Helper function that converts JSON lists to line delimited JSON.
      """
      # Determine we have a JSON list to turn to lines otherwise just return the
      # json object, only lists can
      if not s[0] == "[" and s[-1] == "]":
          return s
      s = s[1:-1]
  
      return convert_json_to_lines(s)
  
file_path: pandas/pandas/io/json/_normalize.py
imports: from __future__ import annotations
  from collections import abc, defaultdict
  import copy
  from typing import TYPE_CHECKING, Any, DefaultDict
  import numpy
  from pandas._libs.writers import convert_json_to_lines
  import pandas
  from pandas import DataFrame
label_desc: Use image node_id 1 for calling a global function with example usage: convert_to_line_delimits(s) and returns: convert_json_to_lines, s