Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/lukechampine/jj

Package jj implements a JSON transaction journal. It enables efficient ACID transactions on JSON objects. Each Journal represents a single JSON object. The object is serialized as an "initial object" followed by a series of update sets, one per line. Each update specifies a field and a modification. See the Update type for a full specification. During operation, the object is first loaded by reading the file and applying each update to the initial object. It is subsequently modified by appending update sets to the file, one per line. At any time, a "checkpoint" may be created, which clears the Journal and starts over with a new initial object. This allows for compaction of the Journal file. In the event of power failure or other serious disruption, the most recent update set may be only partially written. Partially written update sets are simply ignored when reading the Journal. Individual updates may also be ignored if they are malformed, though other updates in the set may be applied. See the Update docstring for an explanation of malformed updates.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/lukechampine/jj
Keywords: journaling, json
License: MIT
Latest release: over 7 years ago
First release: over 7 years ago
Namespace: github.com/lukechampine
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 21 days ago

    Loading...
    Readme
    Loading...