def read ( self ) : for line in self . io . read ( ) : with self . parse_line ( line ) as j : yield j
python consume json feed
Iterate over all JSON input ( Generator )
def read(self):
        """Iterate over all JSON input (Generator)"""

        for line in self.io.read():
            with self.parse_line(line) as j:
                yield j