talira

JSON library for Scala and Scala.js

open sourceApache-2.0free

circe is a JSON library for Scala and Scala.js, built on Cats: its core holds the JSON AST, cursors and codecs and depends only on cats-core. Parsing comes from subprojects (Jawn on the JVM, the browser's JSON on Scala.js, or Jackson through circe-jackson), codecs can be derived automatically or semi-automatically, and an optics subproject adds Monocle lenses.

Problems it solves

  • encode and decode JSON in Scala
  • derive JSON codecs for Scala case classes
  • parse JSON in a Scala.js app

Features

  • JSON AST, cursors and codecs
  • automatic and semi-automatic codec derivation
  • Jawn, Jackson and Scala.js parsing
  • Monocle optics
  • Scala.js support