Repository navigation
See Streaming with Jello for a tutorial on how to use the new streaming feature.
20261201 v2.0.0
- Add streaming mode (
-S): JSON Lines input is read one value at a time (_is an iterator) and list/iterator results are printed as JSON Lines as each item is produced. Based on the streaming work by Steven Pelley (#69) - Add raw line streaming (
-SR): each input line is provided as a string - Queries can now use
yield,yield fromandreturn(by Steven Pelley, #69) -lnow prints generator/iterator results as they are produced-sworks in streaming mode and prints the same schema as for the whole list- Read input and write redirected output as UTF-8, so non-ASCII text works on Windows (by Sinhal Joshi, #78)
- Input that is not valid UTF-8 now prints an error message instead of a traceback
- Fix values printing as
{}when input objects are placed inside a new dict or list, e.g.{"Array": _}(#75) - Fix extra newline at the start of
-ffile input (affected-Routput and JSON error line numbers) - Fix
-fwaiting on STDIN when STDIN is an open pipe (STDIN is not read when-fis used) - Require Python 3.11 or later