Documentation
¶
Overview ¶
Package jsonl provides utilities for reading and writing JSONL (JSON Lines) files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileWriter ¶
type FileWriter struct {
*Writer
// contains filtered or unexported fields
}
FileWriter writes JSONL to a file with append support.
func OpenFile ¶
func OpenFile(path string) (*FileWriter, error)
OpenFile opens or creates a JSONL file for appending.
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader reads JSON objects from a newline-delimited JSON stream.
Click to show internal directories.
Click to hide internal directories.