io.circe.optics

package io.circe.optics

Members list

Type members

Classlikes

final case class JsonFoldPath(json: Fold[Json, Json]) extends Dynamic

Attributes

Source
JsonPath.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Dynamic
class Object
trait Matchable
class Any
Show all

Optics instances for io.circe.JsonObject.

Optics instances for io.circe.JsonObject.

Note that the prisms for integral types will fail on io.circe.JsonNumber values representing negative zero, since this would make them unlawful.

Attributes

Companion
object
Source
JsonNumberOptics.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object JsonNumberOptics.type
object all.type

Attributes

Companion
trait
Source
JsonNumberOptics.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Optics instances for io.circe.JsonObject.

Optics instances for io.circe.JsonObject.

Attributes

Companion
object
Source
JsonObjectOptics.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object JsonObjectOptics.type
object all.type

Attributes

Companion
trait
Source
JsonObjectOptics.scala
Supertypes
class Object
trait Matchable
class Any
Show all
Self type
trait JsonOptics

Optics instances for io.circe.Json.

Optics instances for io.circe.Json.

Attributes

Companion
object
Source
JsonOptics.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object JsonOptics.type
object all.type
object JsonOptics extends JsonOptics

Attributes

Companion
trait
Source
JsonOptics.scala
Supertypes
trait JsonOptics
class Object
trait Matchable
class Any
Self type
JsonOptics.type
final case class JsonPath(json: Optional[Json, Json]) extends Dynamic

Attributes

Companion
object
Source
JsonPath.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Dynamic
class Object
trait Matchable
class Any
Show all
object JsonPath

Attributes

Companion
class
Source
JsonPath.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
JsonPath.type
final case class JsonTraversalPath(json: Traversal[Json, Json]) extends Dynamic

Attributes

Source
JsonPath.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Dynamic
class Object
trait Matchable
class Any
Show all
object UnsafeOptics

Attributes

Source
JsonPath.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
package.scala
Supertypes
trait JsonOptics
class Object
trait Matchable
class Any
Show all
Self type
all.type

Value members

Concrete methods

final def deriveDecoderWithIso[A, B](implicit decoder: Decoder[A], iso: Iso[A, B]): Decoder[B]

Derives a io.circe.Decoder[B] from a Decoder[A] and monocle.Iso[A, B].

Derives a io.circe.Decoder[B] from a Decoder[A] and monocle.Iso[A, B].

Type parameters

A

the type parameter of the existent Decoder.

B

the type parameter of the derived Decoder.

Value parameters

decoder

the existent Decoder.

iso

the existent Iso.

Attributes

Source
package.scala
final def deriveDecoderWithIsoReverse[B, A](implicit decoder: Decoder[A], iso: Iso[B, A]): Decoder[B]

Derives a io.circe.Decoder[B] from a Decoder[A] and monocle.Iso[B, A].

Derives a io.circe.Decoder[B] from a Decoder[A] and monocle.Iso[B, A].

Type parameters

A

the type parameter of the existent Decoder.

B

the type parameter of the derived Decoder.

Value parameters

decoder

the existent Decoder.

iso

the existent Iso.

Attributes

Source
package.scala
final def deriveEncoderWithIso[A, B](implicit encoder: Encoder[A], iso: Iso[A, B]): Encoder[B]

Derives an io.circe.Encoder[B] from an Encoder[A] and monocle.Iso[A, B].

Derives an io.circe.Encoder[B] from an Encoder[A] and monocle.Iso[A, B].

Type parameters

A

the type parameter of the existent Encoder.

B

the type parameter of the derived Encoder.

Value parameters

encoder

the existent Encoder.

iso

the existent Iso.

Attributes

Source
package.scala
final def deriveEncoderWithIsoReverse[B, A](implicit encoder: Encoder[A], iso: Iso[B, A]): Encoder[B]

Derives an io.circe.Encoder[B] from an Encoder[A] and monocle.Iso[B, A].

Derives an io.circe.Encoder[B] from an Encoder[A] and monocle.Iso[B, A].

Type parameters

A

the type parameter of the existent Encoder.

B

the type parameter of the derived Encoder.

Value parameters

encoder

the existent Encoder.

iso

the existent Iso.

Attributes

Source
package.scala