Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/argonaut-io/argonaut
Purely functional JSON parser and library in scala.
https://github.com/argonaut-io/argonaut
argonaut functional-programming json json-parser scala scalaz
Last synced: 20 days ago
JSON representation
Purely functional JSON parser and library in scala.
- Host: GitHub
- URL: https://github.com/argonaut-io/argonaut
- Owner: argonaut-io
- License: other
- Created: 2012-12-09T12:11:48.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2024-04-08T04:06:29.000Z (7 months ago)
- Last Synced: 2024-04-08T05:23:02.928Z (7 months ago)
- Topics: argonaut, functional-programming, json, json-parser, scala, scalaz
- Language: Scala
- Homepage:
- Size: 13 MB
- Stars: 546
- Watchers: 24
- Forks: 112
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- License: COPYING
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-scala-native - argonaut - Purely functional JSON parser and library. (File Formats and Parsers)
- awesome-scala - **argonaut** - io/argonaut) ![GitHub commit activity](https://img.shields.io/github/commit-activity/y/argonaut-io/argonaut) (Table of Contents / JSON)
README
# Argonaut
[![Join the chat at https://gitter.im/argonaut-io/argonaut](https://badges.gitter.im/argonaut-io/argonaut.svg)](https://gitter.im/argonaut-io/argonaut?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![argonaut Scala version support](https://index.scala-lang.org/argonaut-io/argonaut/argonaut/latest-by-scala-version.svg)](https://index.scala-lang.org/argonaut-io/argonaut/argonaut)
### What is Argonaut?
Argonaut is a JSON library for Scala, providing a rich library for parsing, printing and manipulation as well as convenient codecs for translation to and from scala data types.
Argonaut is licenced under BSD3 (see `LICENCE`). See more at [http://argonaut.io](http://argonaut.io).
### Documentation
* [User Docs](http://argonaut.io/doc/)
* [Scala Docs](https://javadoc.io/doc/io.argonaut/argonaut_2.13/latest/index.html)
* [Examples](https://github.com/argonaut-io/argonaut/tree/master/argonaut/shared/src/test/scala/argonaut/example)### SBT Settings
Just add argonaut as a dependency.
Stable:
```scala
libraryDependencies += "io.argonaut" %% "argonaut" % "6.3.9"
```Note that the 6.2.x releases supports scala `2.11.*`, `2.12.*` and `2.13.*` with scalaz `7.2.*`.
Note that the 6.3.x releases supports scala `2.12.*`, `2.13.*` and `3.x` with scalaz `7.3.*`.
### Release
Add to `~/.sbt/1.0/sonatype.sbt`
credentials += Credentials("Sonatype Nexus Repository Manager",
"oss.sonatype.org",
"",
"")For a snapshot build run:
./sbt +publishFor a release build run:
./sbt "release cross"
Note for a release build you will want to enter the details for the
release build number and then the subsequent build number. At this
step it is fine to enter the original build number as the next number
(for example when doing Milestone or RC builds). As an example:Release version [6.0] : 6.0-M3
Next version [6.1-SNAPSHOT] : 6.0-SNAPSHOT### Provenance
Argonaut was initially developed to support products at [Ephox](http://ephox.com), who have now kindly relinquished control to the community.
The library was open-sourced under a [BSD License](https://github.com/argonaut-io/argonaut/blob/master/LICENSE), drawing users, support and improvements from a number of contributors.