def json_stream(stream):
 return split_buffer(stream, json_splitter, json_decoder.decode)

def json_stream ( stream ) : return split_buffer ( stream , json_splitter , json_decoder . decode )
given a stream of text .