A package for generating code that makes it easy to integrate with key-value stores through ports
What is This?
This package takes some JSON and generates a single file that takes care of most of the work in saving and loading it to an external key-value store via ports.
The generated file contains:
Storetype to put into your model and all of the necessary functions to initiate and update that
- Encoders and decoders for each key of the passed JSON data
- Functions that produce and consume
- Support for saving and loading arbitrary key / value pairs (with the caveat that you will need to write your own encoder / decoder for those!)
To get started, check out the