It would be possible to implement streaming serialization support as a separate utility. See https://github.com/lucagez/slow-json-stringify/issues/18#issuecomment-735701333 for more details and a reference (dummy) implementation