Discover Packages
github.com/errata-app/errata-cli
internal
jsonutil
package
Version:
v0.1.5
Opens a new window with list of versions in this module.
Published: Mar 23, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package jsonutil provides generic helpers for atomic JSON file I/O.
LoadJSON reads a JSON file at path and unmarshals it into *T.
SaveJSON writes v as pretty-printed JSON to dir/filename using an
atomic write (temp file + rename). Parent directories are created
as needed. Returns the full path.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.