original_docstring: A generator that converts an iterable of newline-delimited JSON objects
      ('input_data' could be a 'list' for testing purposes) into an iterable of
      Python dict objects. If the line cannot be parsed as JSON, the exception
      thrown by the json.loads() is yielded back, instead of the json object.
      The calling code can check for this exception with an isinstance() function,
      then continue processing the rest of the file.
      
docstring: A generator that converts an iterable of newline-delimited JSON objects
  ('input_data' could be a 'list' for testing purposes) into an iterable of
  Python dict objects. If the line cannot be parsed as JSON, the exception
  thrown by the json.loads() is yielded back, instead of the json object.
  The calling code can check for this exception with an isinstance() function,
  then continue processing the rest of the file.
docstring_tokens: A generator that converts an iterable of newline - delimited JSON objects ( ' input_data ' could be a ' list ' for testing purposes ) into an iterable of Python dict objects . If the line cannot be parsed as JSON the exception thrown by the json . loads () is yielded back instead of the json object . The calling code can check for this exception with an isinstance () function then continue processing the rest of the file .
code: def json_reader(input_data):
      """A generator that converts an iterable of newline-delimited JSON objects
      ('input_data' could be a 'list' for testing purposes) into an iterable of
      Python dict objects. If the line cannot be parsed as JSON, the exception
      thrown by the json.loads() is yielded back, instead of the json object.
      The calling code can check for this exception with an isinstance() function,
      then continue processing the rest of the file.
      """
      for line in input_data:
          try:
              yield json.loads(line)
          except Exception as e:
              yield e
code_tokens: def json_reader ( input_data ) : for line in input_data : try : yield json . loads ( line ) except Exception as e : yield e
short_docstring: A generator that converts an iterable of newline-delimited JSON objects
  ('input_data' could be a 'list' for testing purposes) into an iterable of
  Python dict objects.
short_docstring_tokens: A generator that converts an iterable of newline - delimited JSON objects ( ' input_data ' could be a ' list ' for testing purposes ) into an iterable of Python dict objects .
comment: """A generator that converts an iterable of newline-delimited JSON objects
      ('input_data' could be a 'list' for testing purposes) into an iterable of
      Python dict objects. If the line cannot be parsed as JSON, the exception
      thrown by the json.loads() is yielded back, instead of the json object.
      The calling code can check for this exception with an isinstance() function,
      then continue processing the rest of the file.
      """