https://github.com/taig/circe-validation
Use cats Validated to create (Accumulating) circe Decoders
https://github.com/taig/circe-validation
cats circe json scala validation
Last synced: 5 months ago
JSON representation
Use cats Validated to create (Accumulating) circe Decoders
- Host: GitHub
- URL: https://github.com/taig/circe-validation
- Owner: taig
- License: mit
- Archived: true
- Created: 2017-08-13T16:23:12.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-11-23T16:56:23.000Z (over 5 years ago)
- Last Synced: 2025-04-19T14:09:01.372Z (about 1 year ago)
- Topics: cats, circe, json, scala, validation
- Language: Scala
- Homepage: https://circe-validation.taig.io/
- Size: 66.4 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# circe Validation
> Use cats Validated to create (Accumulating) circe Decoders
Please visit the [documentation](https://circe-validation.taig.io/) microsite to learn how to install and use _circe Validation_.
## Building the microsite
The microsite relies on [`sbt-microsites`](https://github.com/47deg/sbt-microsites) and does therefore require `ruby` and `jekyll` to be installed on your system. When these requirements are met, the microsite can be built as follows.
```
sbt website/makeMicrosite
cd website/target/site/
jekyll serve
```
Alternatively, when `ruby` and `jekyll` are not available the microsite can be built via docker.
```
docker build -t circe-validation .
docker run -it -p 4000:4000 -v $PWD:/home/circe-validation/ circe-validation
sbt website/makeMicrosite
cd website/target/site/
jekyll serve --host=0.0.0.0
```
The site can now be opened in a web browser at [`http://localhost:4000/`](http://localhost:4000/).