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
).
Just add argonaut as a dependency.
Stable:
libraryDependencies += "io.github.argonaut-io" %% "argonaut" % "6.3.11"
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.*
.
Add to ~/.sbt/1.0/sonatype.sbt
credentials += Credentials("Sonatype Nexus Repository Manager",
"oss.sonatype.org",
"<username>",
"<password>")
For a snapshot build run: ./sbt +publish
For 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
Argonaut was initially developed to support products at Ephox, who have now kindly relinquished control to the community.
The library was open-sourced under a BSD License, drawing users, support and improvements from a number of contributors.