Permalink
Browse files

Json.fromBoolean

Example of Json.fromBoolean, where it's supposed to be
  • Loading branch information...
GuntherW committed May 6, 2017
1 parent b64edce commit 2f780f9b2a1d66a964b999b8a575edbfe2a249dd
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/scala/circelib/JsonSection.scala
@@ -41,8 +41,8 @@ object JsonSection extends FlatSpec with Matchers with definitions.Section {
* scala> val jsonDouble: Option[Json] = Json.fromDouble(1)
* jsonDouble: Option[io.circe.Json] = Some(1.0)
*
* scala> val jsonDouble: Option[Json] = Json.fromDouble(1)
* jsonString: Option[io.circe.Json] = Some(1.0)
* scala> val jsonBoolean: Json = Json.fromBoolean(true)
* jsonBoolean: io.circe.Json = true
*
* scala> // fromFields example
* scala> val fieldList = List(

0 comments on commit 2f780f9

Please sign in to comment.