I have a command that outputs multiple simple json objects like this (for development purposes previously piped to a file foo.txt):
foo.txt
$ cat foo.txt