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

safe-json

This library aims to make the updating of JSON formats or contents, while keeping backward compatibility, as painless as possible. The way this is achieved is through versioning and defined migration functions to migrate older (or newer) versions to the one used. The library mainly consists of two classes: SafeJSON a: Defines the version of a and if (and how) it is migratable. Migrate a: Defines the data type (MigrateFrom a) that can be migrated to a and how to migrate from that type. Using these two classes, JSON serialized data types will stay parsable, even after format changes. For a more in-depth explanation and examples, please see the README at https://github.com/Vlix/safe-json#readme

Ecosystem
hackage.haskell.org
Latest Release
1.1.1
over 5 years ago
Versions
15
Downloads
3,212 total
Dependent Repos
7
Links
Registry hackage.haskell.org
Source Repository
Homepage Homepage
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/safe-json
spec
License MIT
First Release about 7 years ago
Last Synced 16 days ago
Repository
Stars 28 on GitHub
Forks 4 on GitHub
Commits 84
Committers 7
Avg per Author 12.0
DDS 0.226