Skip to content

Instantly share code, notes, and snippets.

@derekjw
Created April 12, 2016 09:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save derekjw/902fa3deafddf2e6e79656d938ecedf5 to your computer and use it in GitHub Desktop.
Save derekjw/902fa3deafddf2e6e79656d938ecedf5 to your computer and use it in GitHub Desktop.
package org.example
import io.circe.generic.JsonCodec
import io.circe.syntax._
@JsonCodec
case class Foo(value: String)
object Main extends App {
println(Foo("foo").asJson.noSpaces)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment