Yet another JSON library for Scala
Switch branches/tags
backport/0.1.2/66 backport/0.2.1/110 backport/0.4.1/273 backport/0.5.2/366 backport/0.5.3 backport/0.5.4 backport/0.7.1 backport/0.9.2 backport/0.9.3 backport/0.10.1 downloads/2017-09 downloads/2017-11 downloads/2017-12 downloads/2018-01 downloads/2018-02 downloads/2018-04 downloads/2018-05 downloads/2018-06 downloads/2018-07 downloads/2018-08 downloads/2018-09 downloads/2018-10 downloads/2018-11 felixbr/topic-917-better-java8-time-errors fix/65 fix/217 fix/320 fix/679 fix/760 fix/816 fix/831 fix/865 gh-pages master optimization/seq-decoder rework/json-number scalajs starter/320 topic/abstract-decoder topic/accumulating-decoders topic/adt-enumeration-derivation topic/aggregate-benchmarks-hygiene topic/allow-transforming-discriminator-values topic/ast-module topic/async topic/cats-0.4.0 topic/cats-0.8.0 topic/circe-iteratee-link-fix topic/circe-iteratee-link topic/circe-org-list topic/codec-only topic/codec-serializability topic/configuring-generic-derivation topic/contributing topic/cursor-optimization topic/de-gd-benchmark topic/de-triemap topic/de-truncate topic/de-whitebox-ification topic/decoder-either topic/derivation-overhaul topic/docs-ensure-validate topic/ensure-tests topic/export-hook-1.0.2 topic/export-hook-again topic/fix-docs topic/fix-ensure topic/fix-java8 topic/fix-key-decoder topic/fix-microsite-optics topic/fix-readme topic/fix-sorted-map-encoding topic/fix-travis-ci topic/flatten-numbers topic/floats-again topic/follow-up-642 topic/for-product-n-reorder topic/for-sum-n topic/gd2-tests topic/generic-extras-laws topic/hook-less topic/java-math-instances topic/java-time-to-core topic/jawn-perf-java topic/jawn-perf topic/js-printing topic/json-number-big-decimal topic/json-number-parser topic/kleisli-instantiation topic/less-paradise topic/lockdown topic/mod-tests topic/more-memory topic/non-empty-x-instances topic/null-eq topic/optics-move topic/optics-removal topic/post-0.9.0-clean-up topic/printer-fix topic/printing-folder topic/printing-vector-iterator topic/reinstate-java8 topic/remove-0.9-deprecations topic/remove-errors topic/remove-finite-duration-codec topic/repr-codecs topic/repro-build topic/sbt-scalajs-crossproject topic/scaladoc-improvements topic/scaladoc-links topic/scalafmt topic/simplify-printing topic/sketchy-optimization topic/sonatype-data topic/split-generic-tests topic/spray-results topic/test-coverage topic/type-equality topic/unsafety topic/update-examples topic/update-previous topic/use-shrink topic/xor-less-opt topic/2.13-cleanup travis/chains travis/export-encoder travis/java-time-instance-clean-up travis/update-misc tut-site update/cats-1.0.0-RC1 update/cats-1.2.0 update/cats-1.3.0 update/cats-1.3.1 update/cats-1.4.0 update/cats-1.5.0-RC0 update/coursier-1.0.0-RC6 update/iteratee-0.14.0 update/jawn-0.12.1 update/jawn-0.13.0 update/monocle-1.5.0 update/paradise-2.1.1 update/prep-2.13.0-M4 update/refined-0.8.6 update/refined-0.9.0 update/sbt-1.0.3 update/sbt-1.1.0 update/sbt-1.1.1 update/sbt-1.1.6 update/sbt-1.2.3 update/sbt-1.2.7 update/sbt-plugins update/scala-2.11.12 update/scala-2.12.4 update/scala-2.12.5 update/scala-2.12.6 update/scala-2.12.8 update/scala.js-0.6.21 update/scala.js-0.6.22 update/scala.js-0.6.24 update/scala.js-0.6.25 update/scoverage-1.4.0 update/shapeless-2.3.3 update/2.13.0-M4
Nothing to show
Clone or download
Latest commit e26b743 Dec 11, 2018


Build status Coverage status Gitter Maven Central

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:

Other circe organization projects

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.

  • circe-benchmarks: Benchmarks for comparing the performance of circe and other JSON libraries for the JVM.
  • circe-config: A library for translating between HOCON, Java properties, and JSON documents.
  • circe-derivation: Experimental generic derivation with improved compile times.
  • circe-fs2: A library that provides streaming JSON parsing and decoding built on fs2 and Jawn.
  • circe-iteratee: A library that provides streaming JSON parsing and decoding built on and Jawn.
  • circe-jackson: A library that provides Jackson-supported parsing and printing for circe.
  • circe-spray: A library that provides JSON marshallers and unmarshallers for Spray using circe.
  • circe-yaml: A library that uses SnakeYAML to support parsing YAML 1.1 into circe's Json.

Related projects

The following open source projects are either built on circe or provide circe support:

  • Actor Messenger: A platform for instant messaging.
  • akka-http-json: A library that supports using circe for JSON marshalling and unmarshalling in Akka HTTP.
  • akka-stream-json: A library that provides JSON support for stream based applications using Jawn as a parser with a convenience example for circe.
  • Argus: Generates models and circe encoders and decoders from JSON schemas.
  • circe-kafka: Implicit conversion of Encoder and Decoder into Kafka Serializer/Deserializer/Serde
  • cornichon: A DSL for JSON API testing.
  • Cosmos: An API for DCOS services that uses circe.
  • crjdt: A conflict-free replicated JSON datatype in Scala.
  • diffson: A Scala diff / patch library for JSON.
  • elastic4s: A Scala client for Elasticsearch with circe support.
  • Enumeratum: Enumerations for Scala with circe integration.
  • Featherbed: A REST client library with circe support.
  • Finch: A library for building web services with circe support.
  • fintrospect: HTTP contracts for Finagle with circe support.
  • fluflu: A Fluentd logger.
  • Github4s: A GitHub API wrapper written in Scala.
  • content-api-models: The Guardian's Content API Thrift models.
  • http4s: A purely functional HTTP library for client and server applications.
  • IdeaLingua: Staged Interface Definition and Data Modeling Language & RPC system currently targeting Scala, Go, C# and TypeScript. Scala codegen generates models and JSON codecs using circe.
  • Iglu Schema Repository: A JSON Schema repository with circe support.
  • jsactor: An actor library for Scala.js with circe support.
  • jwt-circe: A JSON Web Token implementation with circe support.
  • kadai-log: A logging library with circe support.
  • msgpack4z-circe: A MessagePack implementation with circe support.
  • ohNoMyCirce: Friendly compile error messages for shapeless's Generic, circe's Encoder & Decoder and slick's case class mapping.
  • play-circe: circe support for Play!.
  • pulsar4s: A Scala client for Apache-Pulsar with circe support.
  • Rapture: Support for using circe's parsing and AST in Rapture JSON.
  • roc: A PostgreSQL client built on Finagle.
  • sangria-circe: circe marshalling for Sangria, a GraphQL implementation.
  • scalist: A Todoist API client.
  • scala-jsonapi: Scala support library for integrating the JSON API spec with Spray, Play! or Circe
  • scala-json-rpc: JSON-RPC 2.0 library for Scala and Scala.js
  • scalatest-json-circe: Scalatest matchers for Json with appropriate equality and descriptive error messages.
  • Scio: A Scala API for Apache Beam and Google Cloud Dataflow, uses circe for JSON IO
  • seals: Tools for schema evolution and language-integrated schemata (derives circe encoders and decoders).
  • shaclex: RDF validation using SHACL or ShEx.
  • Slick-pg: Slick extensions for PostgreSQL.
  • sttp: Scala HTTP client.
  • telepooz: A Scala wrapper for the Telegram Bot API built on circe.
  • Zenith: Functional HTTP library built on circe.


The following projects provide examples, templates, or benchmarks that include circe:

Contributors and participation

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 Travis Brown, Alexandre Archambault, and Vladimir Kostyukov. After the 1.0 release, all pull requests will require two sign-offs by a maintainer to be merged.

The circe project supports the Typelevel code of conduct and wants all of its channels (Gitter, GitHub, etc.) to be welcoming environments for everyone.

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.