write_json()

Write documents as JSON Lines, one per line, to a path or an open text stream.

Usage

Source

write_json(
    docs,
    destination,
)