#NEWLINE# def next( self ) : #NEWLINE# #INDENT# 'Yields one :class:`dict` loaded with :func:`json.loads`, advancing\n        the file object by one line. Raises :exc:`StopIteration` upon reaching\n        the end of the file (or beginning, if ``reverse`` was set to ``True``.\n        ' #NEWLINE# while 1 : #NEWLINE# #INDENT# line = next ( self . _line_iter ) . lstrip ( ) #NEWLINE# if ( not line ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# obj = json . loads ( line ) #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# if ( not self . ignore_errors ) : #NEWLINE# #INDENT# raise #NEWLINE# #UNINDENT# continue #NEWLINE# #UNINDENT# return obj