Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.circe:circe:0.15.0-M1'
}
dependencies {
implementation("com.github.circe:circe:0.15.0-M1")
}
<dependency>
<groupId>com.github.circe</groupId>
<artifactId>circe</artifactId>
<version>0.15.0-M1</version>
</dependency>
libraryDependencies += "com.github.circe" % "circe" % "0.15.0-M1"
:dependencies [[com.github.circe/circe "0.15.0-M1"]]
circe is a JSON library for Scala (and Scala.js).
Please see the guide for more information about why circe exists and how to use it.
Are you using circe? Please consider opening a pull request to list your organization here:
Please get in touch on Gitter if you have a circe-related project that you'd like to discuss hosting under the circe organization on GitHub.
Json
.The following open source projects are either built on circe or provide circe support:
java.time._
and BigInt
types.The following projects provide examples, templates, or benchmarks that include circe:
circe is a fork of Argonaut, and if you find it at all useful, you should thank Mark Hibberd, Tony Morris, Kenji Yoshida, and the rest of the Argonaut contributors.
circe is currently maintained by Darren Gibson and Erlend Hamnaberg. After the 1.0 release, all pull requests will require two sign-offs by a maintainer to be merged.
The circe project is a typelevel affiliate project, and follow the Typelevel Code of Conduct
Please see the contributors' guide for details on how to submit a pull request.
circe is licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.