jsonarray

package
v0.0.0-...-29719d2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalArray

func MarshalArray[T any](w io.Writer, objects iter.Seq[T]) error

MarshalArray writes a JSON array of objects to the writer. The objects are streamed from the given iterator.

func UnmarshalArray

func UnmarshalArray[T any](r io.Reader) iter.Seq2[T, error]

UnmarshalArray reads a JSON array of objects from the reader. The objects are streamed to the returned iterator.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL