JsonCodec

trait JsonCodec[A] extends JsonDecoder[A] with JsonEncoder[A]

A JsonCodec[A] instance has the ability to encode values of type A into JSON, together with the ability to decode such JSON into values of type A.

The trait is the intersection composition of JsonDecoder[A] and JsonEncoder[A], and instances should satisfy round-tripping laws: that is, for every value, instances must be able to successfully encode the value into JSON, and then successfully decode the same value from such JSON.

For more information, see JsonDecoder and JsonEncoder.

{{ val intCodec: JsonCodec[Int] = JsonCodec[Int]

intCodec.encodeJson(intCodec.encodeJson(42)) == Right(42) }}

Companion
object
trait JsonEncoder[A]
trait JsonDecoder[A]
class Object
trait Matchable
class Any

Value members

Abstract methods

Implicitly added by option
Implicitly added by chunk
Implicitly added by set
Implicitly added by tuple1
Implicitly added by vector
Implicitly added by iterable
Implicitly added by list
Implicitly added by seq
Implicitly added by hashSet
Implicitly added by option
Implicitly added by chunk
Implicitly added by set
Implicitly added by tuple1
Implicitly added by vector
Implicitly added by iterable
Implicitly added by list
Implicitly added by seq
Implicitly added by hashSet

Concrete methods

override def xmap[B](f: A => B, g: B => A): JsonCodec[B]
Definition Classes

Inherited methods

final def *>[B](that: => JsonDecoder[B]): JsonDecoder[B]
Implicitly added by option

An alias for JsonDecoder#zipRight.

An alias for JsonDecoder#zipRight.

Inherited from
JsonDecoder
final def *>[B](that: => JsonDecoder[B]): JsonDecoder[B]
Implicitly added by chunk

An alias for JsonDecoder#zipRight.

An alias for JsonDecoder#zipRight.

Inherited from
JsonDecoder
final def *>[B](that: => JsonDecoder[B]): JsonDecoder[B]
Implicitly added by set

An alias for JsonDecoder#zipRight.

An alias for JsonDecoder#zipRight.

Inherited from
JsonDecoder
final def *>[B](that: => JsonDecoder[B]): JsonDecoder[B]
Implicitly added by tuple1

An alias for JsonDecoder#zipRight.

An alias for JsonDecoder#zipRight.

Inherited from
JsonDecoder
final def *>[B](that: => JsonDecoder[B]): JsonDecoder[B]
Implicitly added by vector

An alias for JsonDecoder#zipRight.

An alias for JsonDecoder#zipRight.

Inherited from
JsonDecoder
final def *>[B](that: => JsonDecoder[B]): JsonDecoder[B]
Implicitly added by iterable

An alias for JsonDecoder#zipRight.

An alias for JsonDecoder#zipRight.

Inherited from
JsonDecoder
final def *>[B](that: => JsonDecoder[B]): JsonDecoder[B]
Implicitly added by list

An alias for JsonDecoder#zipRight.

An alias for JsonDecoder#zipRight.

Inherited from
JsonDecoder
final def *>[B](that: => JsonDecoder[B]): JsonDecoder[B]
Implicitly added by seq

An alias for JsonDecoder#zipRight.

An alias for JsonDecoder#zipRight.

Inherited from
JsonDecoder
final def *>[B](that: => JsonDecoder[B]): JsonDecoder[B]
Implicitly added by hashSet

An alias for JsonDecoder#zipRight.

An alias for JsonDecoder#zipRight.

Inherited from
JsonDecoder
final def *>[B](that: => JsonDecoder[B]): JsonDecoder[B]

An alias for JsonDecoder#zipRight.

An alias for JsonDecoder#zipRight.

Inherited from
JsonDecoder
final def <*[B](that: => JsonDecoder[B]): JsonDecoder[A]
Implicitly added by option

An alias for JsonDecoder#zipLeft.

An alias for JsonDecoder#zipLeft.

Inherited from
JsonDecoder
final def <*[B](that: => JsonDecoder[B]): JsonDecoder[A]
Implicitly added by chunk

An alias for JsonDecoder#zipLeft.

An alias for JsonDecoder#zipLeft.

Inherited from
JsonDecoder
final def <*[B](that: => JsonDecoder[B]): JsonDecoder[A]
Implicitly added by set

An alias for JsonDecoder#zipLeft.

An alias for JsonDecoder#zipLeft.

Inherited from
JsonDecoder
final def <*[B](that: => JsonDecoder[B]): JsonDecoder[A]
Implicitly added by tuple1

An alias for JsonDecoder#zipLeft.

An alias for JsonDecoder#zipLeft.

Inherited from
JsonDecoder
final def <*[B](that: => JsonDecoder[B]): JsonDecoder[A]
Implicitly added by vector

An alias for JsonDecoder#zipLeft.

An alias for JsonDecoder#zipLeft.

Inherited from
JsonDecoder
final def <*[B](that: => JsonDecoder[B]): JsonDecoder[A]
Implicitly added by iterable

An alias for JsonDecoder#zipLeft.

An alias for JsonDecoder#zipLeft.

Inherited from
JsonDecoder
final def <*[B](that: => JsonDecoder[B]): JsonDecoder[A]
Implicitly added by list

An alias for JsonDecoder#zipLeft.

An alias for JsonDecoder#zipLeft.

Inherited from
JsonDecoder
final def <*[B](that: => JsonDecoder[B]): JsonDecoder[A]
Implicitly added by seq

An alias for JsonDecoder#zipLeft.

An alias for JsonDecoder#zipLeft.

Inherited from
JsonDecoder
final def <*[B](that: => JsonDecoder[B]): JsonDecoder[A]
Implicitly added by hashSet

An alias for JsonDecoder#zipLeft.

An alias for JsonDecoder#zipLeft.

Inherited from
JsonDecoder
final def <*[B](that: => JsonDecoder[B]): JsonDecoder[A]

An alias for JsonDecoder#zipLeft.

An alias for JsonDecoder#zipLeft.

Inherited from
JsonDecoder
final def <*>[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]
Implicitly added by option

An alias for JsonDecoder#zip.

An alias for JsonDecoder#zip.

Inherited from
JsonDecoder
final def <*>[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]
Implicitly added by chunk

An alias for JsonDecoder#zip.

An alias for JsonDecoder#zip.

Inherited from
JsonDecoder
final def <*>[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]
Implicitly added by set

An alias for JsonDecoder#zip.

An alias for JsonDecoder#zip.

Inherited from
JsonDecoder
final def <*>[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]
Implicitly added by tuple1

An alias for JsonDecoder#zip.

An alias for JsonDecoder#zip.

Inherited from
JsonDecoder
final def <*>[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]
Implicitly added by vector

An alias for JsonDecoder#zip.

An alias for JsonDecoder#zip.

Inherited from
JsonDecoder
final def <*>[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]
Implicitly added by iterable

An alias for JsonDecoder#zip.

An alias for JsonDecoder#zip.

Inherited from
JsonDecoder
final def <*>[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]
Implicitly added by list

An alias for JsonDecoder#zip.

An alias for JsonDecoder#zip.

Inherited from
JsonDecoder
final def <*>[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]
Implicitly added by seq

An alias for JsonDecoder#zip.

An alias for JsonDecoder#zip.

Inherited from
JsonDecoder
final def <*>[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]
Implicitly added by hashSet

An alias for JsonDecoder#zip.

An alias for JsonDecoder#zip.

Inherited from
JsonDecoder
final def <*>[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]

An alias for JsonDecoder#zip.

An alias for JsonDecoder#zip.

Inherited from
JsonDecoder
final def <+>[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]
Implicitly added by option
Inherited from
JsonDecoder
final def <+>[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]
Implicitly added by chunk
Inherited from
JsonDecoder
final def <+>[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]
Implicitly added by set
Inherited from
JsonDecoder
final def <+>[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]
Implicitly added by tuple1
Inherited from
JsonDecoder
final def <+>[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]
Implicitly added by vector
Inherited from
JsonDecoder
final def <+>[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]
Implicitly added by iterable
Inherited from
JsonDecoder
final def <+>[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]
Implicitly added by list
Inherited from
JsonDecoder
final def <+>[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]
Implicitly added by seq
Inherited from
JsonDecoder
final def <+>[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]
Implicitly added by hashSet
Inherited from
JsonDecoder
final def <+>[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]
Inherited from
JsonDecoder
final def <>[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]
Implicitly added by option

An alias for JsonDecoder#orElse.

An alias for JsonDecoder#orElse.

Inherited from
JsonDecoder
final def <>[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]
Implicitly added by chunk

An alias for JsonDecoder#orElse.

An alias for JsonDecoder#orElse.

Inherited from
JsonDecoder
final def <>[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]
Implicitly added by set

An alias for JsonDecoder#orElse.

An alias for JsonDecoder#orElse.

Inherited from
JsonDecoder
final def <>[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]
Implicitly added by tuple1

An alias for JsonDecoder#orElse.

An alias for JsonDecoder#orElse.

Inherited from
JsonDecoder
final def <>[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]
Implicitly added by vector

An alias for JsonDecoder#orElse.

An alias for JsonDecoder#orElse.

Inherited from
JsonDecoder
final def <>[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]
Implicitly added by iterable

An alias for JsonDecoder#orElse.

An alias for JsonDecoder#orElse.

Inherited from
JsonDecoder
final def <>[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]
Implicitly added by list

An alias for JsonDecoder#orElse.

An alias for JsonDecoder#orElse.

Inherited from
JsonDecoder
final def <>[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]
Implicitly added by seq

An alias for JsonDecoder#orElse.

An alias for JsonDecoder#orElse.

Inherited from
JsonDecoder
final def <>[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]
Implicitly added by hashSet

An alias for JsonDecoder#orElse.

An alias for JsonDecoder#orElse.

Inherited from
JsonDecoder
final def <>[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]

An alias for JsonDecoder#orElse.

An alias for JsonDecoder#orElse.

Inherited from
JsonDecoder
final def both[B](that: => JsonEncoder[B]): JsonEncoder[(A, B)]
Implicitly added by option

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Inherited from
JsonEncoder
final def both[B](that: => JsonEncoder[B]): JsonEncoder[(A, B)]
Implicitly added by chunk

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Inherited from
JsonEncoder
final def both[B](that: => JsonEncoder[B]): JsonEncoder[(A, B)]
Implicitly added by set

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Inherited from
JsonEncoder
final def both[B](that: => JsonEncoder[B]): JsonEncoder[(A, B)]
Implicitly added by tuple1

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Inherited from
JsonEncoder
final def both[B](that: => JsonEncoder[B]): JsonEncoder[(A, B)]
Implicitly added by vector

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Inherited from
JsonEncoder
final def both[B](that: => JsonEncoder[B]): JsonEncoder[(A, B)]
Implicitly added by iterable

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Inherited from
JsonEncoder
final def both[B](that: => JsonEncoder[B]): JsonEncoder[(A, B)]
Implicitly added by list

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Inherited from
JsonEncoder
final def both[B](that: => JsonEncoder[B]): JsonEncoder[(A, B)]
Implicitly added by seq

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Inherited from
JsonEncoder
final def both[B](that: => JsonEncoder[B]): JsonEncoder[(A, B)]
Implicitly added by hashSet

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Inherited from
JsonEncoder
final def both[B](that: => JsonEncoder[B]): JsonEncoder[(A, B)]

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Returns a new encoder that is capable of encoding a tuple containing the values of this encoder and the specified encoder.

Inherited from
JsonEncoder
final def bothWith[B, C](that: => JsonEncoder[B])(f: C => (A, B)): JsonEncoder[C]
Implicitly added by option

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Inherited from
JsonEncoder
final def bothWith[B, C](that: => JsonEncoder[B])(f: C => (A, B)): JsonEncoder[C]
Implicitly added by chunk

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Inherited from
JsonEncoder
final def bothWith[B, C](that: => JsonEncoder[B])(f: C => (A, B)): JsonEncoder[C]
Implicitly added by set

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Inherited from
JsonEncoder
final def bothWith[B, C](that: => JsonEncoder[B])(f: C => (A, B)): JsonEncoder[C]
Implicitly added by tuple1

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Inherited from
JsonEncoder
final def bothWith[B, C](that: => JsonEncoder[B])(f: C => (A, B)): JsonEncoder[C]
Implicitly added by vector

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Inherited from
JsonEncoder
final def bothWith[B, C](that: => JsonEncoder[B])(f: C => (A, B)): JsonEncoder[C]
Implicitly added by iterable

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Inherited from
JsonEncoder
final def bothWith[B, C](that: => JsonEncoder[B])(f: C => (A, B)): JsonEncoder[C]
Implicitly added by list

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Inherited from
JsonEncoder
final def bothWith[B, C](that: => JsonEncoder[B])(f: C => (A, B)): JsonEncoder[C]
Implicitly added by seq

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Inherited from
JsonEncoder
final def bothWith[B, C](that: => JsonEncoder[B])(f: C => (A, B)): JsonEncoder[C]
Implicitly added by hashSet

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Inherited from
JsonEncoder
final def bothWith[B, C](that: => JsonEncoder[B])(f: C => (A, B)): JsonEncoder[C]

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Returns a new encoder that is capable of encoding a user-defined value, which is create from a tuple of the values of this encoder and the specified encoder, from the specified user- defined function.

Inherited from
JsonEncoder
final def contramap[B](f: B => A): JsonEncoder[B]
Implicitly added by option

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Inherited from
JsonEncoder
final def contramap[B](f: B => A): JsonEncoder[B]
Implicitly added by chunk

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Inherited from
JsonEncoder
final def contramap[B](f: B => A): JsonEncoder[B]
Implicitly added by set

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Inherited from
JsonEncoder
final def contramap[B](f: B => A): JsonEncoder[B]
Implicitly added by tuple1

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Inherited from
JsonEncoder
final def contramap[B](f: B => A): JsonEncoder[B]
Implicitly added by vector

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Inherited from
JsonEncoder
final def contramap[B](f: B => A): JsonEncoder[B]
Implicitly added by iterable

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Inherited from
JsonEncoder
final def contramap[B](f: B => A): JsonEncoder[B]
Implicitly added by list

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Inherited from
JsonEncoder
final def contramap[B](f: B => A): JsonEncoder[B]
Implicitly added by seq

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Inherited from
JsonEncoder
final def contramap[B](f: B => A): JsonEncoder[B]
Implicitly added by hashSet

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Inherited from
JsonEncoder
final def contramap[B](f: B => A): JsonEncoder[B]

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Returns a new encoder, with a new input type, which can be transformed to the old input type by the specified user-defined function.

Inherited from
JsonEncoder
final def decodeJson(str: CharSequence): Either[String, A]
Implicitly added by option

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Note: This method may not entirely consume the specified character sequence.

Inherited from
JsonDecoder
final def decodeJson(str: CharSequence): Either[String, A]
Implicitly added by chunk

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Note: This method may not entirely consume the specified character sequence.

Inherited from
JsonDecoder
final def decodeJson(str: CharSequence): Either[String, A]
Implicitly added by set

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Note: This method may not entirely consume the specified character sequence.

Inherited from
JsonDecoder
final def decodeJson(str: CharSequence): Either[String, A]
Implicitly added by tuple1

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Note: This method may not entirely consume the specified character sequence.

Inherited from
JsonDecoder
final def decodeJson(str: CharSequence): Either[String, A]
Implicitly added by vector

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Note: This method may not entirely consume the specified character sequence.

Inherited from
JsonDecoder
final def decodeJson(str: CharSequence): Either[String, A]
Implicitly added by iterable

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Note: This method may not entirely consume the specified character sequence.

Inherited from
JsonDecoder
final def decodeJson(str: CharSequence): Either[String, A]
Implicitly added by list

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Note: This method may not entirely consume the specified character sequence.

Inherited from
JsonDecoder
final def decodeJson(str: CharSequence): Either[String, A]
Implicitly added by seq

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Note: This method may not entirely consume the specified character sequence.

Inherited from
JsonDecoder
final def decodeJson(str: CharSequence): Either[String, A]
Implicitly added by hashSet

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Note: This method may not entirely consume the specified character sequence.

Inherited from
JsonDecoder
final def decodeJson(str: CharSequence): Either[String, A]

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Attempts to decode a value of type A from the specified CharSequence, but may fail with a human-readable error message if the provided text does not encode a value of this type.

Note: This method may not entirely consume the specified character sequence.

Inherited from
JsonDecoder
final def decodeJsonStream[R <: Blocking](stream: ZStream[R, Throwable, Char]): ZIO[R, Throwable, A]
Implicitly added by option

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also
Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonStream[R <: Blocking](stream: ZStream[R, Throwable, Char]): ZIO[R, Throwable, A]
Implicitly added by chunk

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also
Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonStream[R <: Blocking](stream: ZStream[R, Throwable, Char]): ZIO[R, Throwable, A]
Implicitly added by set

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also
Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonStream[R <: Blocking](stream: ZStream[R, Throwable, Char]): ZIO[R, Throwable, A]
Implicitly added by tuple1

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also
Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonStream[R <: Blocking](stream: ZStream[R, Throwable, Char]): ZIO[R, Throwable, A]
Implicitly added by vector

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also
Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonStream[R <: Blocking](stream: ZStream[R, Throwable, Char]): ZIO[R, Throwable, A]
Implicitly added by iterable

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also
Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonStream[R <: Blocking](stream: ZStream[R, Throwable, Char]): ZIO[R, Throwable, A]
Implicitly added by list

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also
Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonStream[R <: Blocking](stream: ZStream[R, Throwable, Char]): ZIO[R, Throwable, A]
Implicitly added by seq

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also
Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonStream[R <: Blocking](stream: ZStream[R, Throwable, Char]): ZIO[R, Throwable, A]
Implicitly added by hashSet

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also
Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonStream[R <: Blocking](stream: ZStream[R, Throwable, Char]): ZIO[R, Throwable, A]

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of characters into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also
Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonStreamInput[R <: Blocking](stream: ZStream[R, Throwable, Byte], charset: Charset): ZIO[R, Throwable, A]
Implicitly added by option

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also

decodeJsonStream For a Char stream variant

Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonStreamInput[R <: Blocking](stream: ZStream[R, Throwable, Byte], charset: Charset): ZIO[R, Throwable, A]
Implicitly added by chunk

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also

decodeJsonStream For a Char stream variant

Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonStreamInput[R <: Blocking](stream: ZStream[R, Throwable, Byte], charset: Charset): ZIO[R, Throwable, A]
Implicitly added by set

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also

decodeJsonStream For a Char stream variant

Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonStreamInput[R <: Blocking](stream: ZStream[R, Throwable, Byte], charset: Charset): ZIO[R, Throwable, A]
Implicitly added by tuple1

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also

decodeJsonStream For a Char stream variant

Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonStreamInput[R <: Blocking](stream: ZStream[R, Throwable, Byte], charset: Charset): ZIO[R, Throwable, A]
Implicitly added by vector

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also

decodeJsonStream For a Char stream variant

Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonStreamInput[R <: Blocking](stream: ZStream[R, Throwable, Byte], charset: Charset): ZIO[R, Throwable, A]
Implicitly added by iterable

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also

decodeJsonStream For a Char stream variant

Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonStreamInput[R <: Blocking](stream: ZStream[R, Throwable, Byte], charset: Charset): ZIO[R, Throwable, A]
Implicitly added by list

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also

decodeJsonStream For a Char stream variant

Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonStreamInput[R <: Blocking](stream: ZStream[R, Throwable, Byte], charset: Charset): ZIO[R, Throwable, A]
Implicitly added by seq

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also

decodeJsonStream For a Char stream variant

Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonStreamInput[R <: Blocking](stream: ZStream[R, Throwable, Byte], charset: Charset): ZIO[R, Throwable, A]
Implicitly added by hashSet

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also

decodeJsonStream For a Char stream variant

Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonStreamInput[R <: Blocking](stream: ZStream[R, Throwable, Byte], charset: Charset): ZIO[R, Throwable, A]

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A, but may fail with a human-readable exception if the stream does not encode a value of this type.

Note: This method may not consume the full string.

See also

decodeJsonStream For a Char stream variant

Inherited from
JsonDecoderPlatformSpecific
final def decodeJsonTransducer(delimiter: JsonStreamDelimiter): ZTransducer[Blocking, Throwable, Char, A]
Implicitly added by option
final def decodeJsonTransducer(delimiter: JsonStreamDelimiter): ZTransducer[Blocking, Throwable, Char, A]
Implicitly added by chunk
final def decodeJsonTransducer(delimiter: JsonStreamDelimiter): ZTransducer[Blocking, Throwable, Char, A]
Implicitly added by set
final def decodeJsonTransducer(delimiter: JsonStreamDelimiter): ZTransducer[Blocking, Throwable, Char, A]
Implicitly added by tuple1
final def decodeJsonTransducer(delimiter: JsonStreamDelimiter): ZTransducer[Blocking, Throwable, Char, A]
Implicitly added by vector
final def decodeJsonTransducer(delimiter: JsonStreamDelimiter): ZTransducer[Blocking, Throwable, Char, A]
Implicitly added by iterable
final def decodeJsonTransducer(delimiter: JsonStreamDelimiter): ZTransducer[Blocking, Throwable, Char, A]
Implicitly added by list
final def decodeJsonTransducer(delimiter: JsonStreamDelimiter): ZTransducer[Blocking, Throwable, Char, A]
Implicitly added by seq
final def decodeJsonTransducer(delimiter: JsonStreamDelimiter): ZTransducer[Blocking, Throwable, Char, A]
Implicitly added by hashSet
final def decodeJsonTransducer(delimiter: JsonStreamDelimiter): ZTransducer[Blocking, Throwable, Char, A]
final def either[B](that: => JsonEncoder[B]): JsonEncoder[Either[A, B]]
Implicitly added by option

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Inherited from
JsonEncoder
final def either[B](that: => JsonEncoder[B]): JsonEncoder[Either[A, B]]
Implicitly added by chunk

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Inherited from
JsonEncoder
final def either[B](that: => JsonEncoder[B]): JsonEncoder[Either[A, B]]
Implicitly added by set

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Inherited from
JsonEncoder
final def either[B](that: => JsonEncoder[B]): JsonEncoder[Either[A, B]]
Implicitly added by tuple1

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Inherited from
JsonEncoder
final def either[B](that: => JsonEncoder[B]): JsonEncoder[Either[A, B]]
Implicitly added by vector

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Inherited from
JsonEncoder
final def either[B](that: => JsonEncoder[B]): JsonEncoder[Either[A, B]]
Implicitly added by iterable

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Inherited from
JsonEncoder
final def either[B](that: => JsonEncoder[B]): JsonEncoder[Either[A, B]]
Implicitly added by list

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Inherited from
JsonEncoder
final def either[B](that: => JsonEncoder[B]): JsonEncoder[Either[A, B]]
Implicitly added by seq

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Inherited from
JsonEncoder
final def either[B](that: => JsonEncoder[B]): JsonEncoder[Either[A, B]]
Implicitly added by hashSet

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Inherited from
JsonEncoder
final def either[B](that: => JsonEncoder[B]): JsonEncoder[Either[A, B]]

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Returns a new encoder that can accepts an Either[A, B] to either, and uses either this encoder or the specified encoder to encode the two different types of values.

Inherited from
JsonEncoder
final def eitherWith[B, C](that: => JsonEncoder[B])(f: C => Either[A, B]): JsonEncoder[C]
Implicitly added by option

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Inherited from
JsonEncoder
final def eitherWith[B, C](that: => JsonEncoder[B])(f: C => Either[A, B]): JsonEncoder[C]
Implicitly added by chunk

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Inherited from
JsonEncoder
final def eitherWith[B, C](that: => JsonEncoder[B])(f: C => Either[A, B]): JsonEncoder[C]
Implicitly added by set

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Inherited from
JsonEncoder
final def eitherWith[B, C](that: => JsonEncoder[B])(f: C => Either[A, B]): JsonEncoder[C]
Implicitly added by tuple1

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Inherited from
JsonEncoder
final def eitherWith[B, C](that: => JsonEncoder[B])(f: C => Either[A, B]): JsonEncoder[C]
Implicitly added by vector

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Inherited from
JsonEncoder
final def eitherWith[B, C](that: => JsonEncoder[B])(f: C => Either[A, B]): JsonEncoder[C]
Implicitly added by iterable

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Inherited from
JsonEncoder
final def eitherWith[B, C](that: => JsonEncoder[B])(f: C => Either[A, B]): JsonEncoder[C]
Implicitly added by list

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Inherited from
JsonEncoder
final def eitherWith[B, C](that: => JsonEncoder[B])(f: C => Either[A, B]): JsonEncoder[C]
Implicitly added by seq

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Inherited from
JsonEncoder
final def eitherWith[B, C](that: => JsonEncoder[B])(f: C => Either[A, B]): JsonEncoder[C]
Implicitly added by hashSet

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Inherited from
JsonEncoder
final def eitherWith[B, C](that: => JsonEncoder[B])(f: C => Either[A, B]): JsonEncoder[C]

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Returns a new encoder with a new input type, which can be transformed to either the input type of this encoder, or the input type of the specified encoder, using the user-defined transformation function.

Inherited from
JsonEncoder
final def encodeJson(a: A, indent: Option[Int]): CharSequence
Implicitly added by option

Encodes the specified value into a JSON string, with the specified indentation level.

Encodes the specified value into a JSON string, with the specified indentation level.

Inherited from
JsonEncoder
final def encodeJson(a: A, indent: Option[Int]): CharSequence
Implicitly added by chunk

Encodes the specified value into a JSON string, with the specified indentation level.

Encodes the specified value into a JSON string, with the specified indentation level.

Inherited from
JsonEncoder
final def encodeJson(a: A, indent: Option[Int]): CharSequence
Implicitly added by set

Encodes the specified value into a JSON string, with the specified indentation level.

Encodes the specified value into a JSON string, with the specified indentation level.

Inherited from
JsonEncoder
final def encodeJson(a: A, indent: Option[Int]): CharSequence
Implicitly added by tuple1

Encodes the specified value into a JSON string, with the specified indentation level.

Encodes the specified value into a JSON string, with the specified indentation level.

Inherited from
JsonEncoder
final def encodeJson(a: A, indent: Option[Int]): CharSequence
Implicitly added by vector

Encodes the specified value into a JSON string, with the specified indentation level.

Encodes the specified value into a JSON string, with the specified indentation level.

Inherited from
JsonEncoder
final def encodeJson(a: A, indent: Option[Int]): CharSequence
Implicitly added by iterable

Encodes the specified value into a JSON string, with the specified indentation level.

Encodes the specified value into a JSON string, with the specified indentation level.

Inherited from
JsonEncoder
final def encodeJson(a: A, indent: Option[Int]): CharSequence
Implicitly added by list

Encodes the specified value into a JSON string, with the specified indentation level.

Encodes the specified value into a JSON string, with the specified indentation level.

Inherited from
JsonEncoder
final def encodeJson(a: A, indent: Option[Int]): CharSequence
Implicitly added by seq

Encodes the specified value into a JSON string, with the specified indentation level.

Encodes the specified value into a JSON string, with the specified indentation level.

Inherited from
JsonEncoder
final def encodeJson(a: A, indent: Option[Int]): CharSequence
Implicitly added by hashSet

Encodes the specified value into a JSON string, with the specified indentation level.

Encodes the specified value into a JSON string, with the specified indentation level.

Inherited from
JsonEncoder
final def encodeJson(a: A, indent: Option[Int]): CharSequence

Encodes the specified value into a JSON string, with the specified indentation level.

Encodes the specified value into a JSON string, with the specified indentation level.

Inherited from
JsonEncoder
final def encodeJsonStream(a: A): ZStream[Blocking, Throwable, Char]
Implicitly added by option

Encodes the specified value into a character stream.

Encodes the specified value into a character stream.

Inherited from
JsonEncoderPlatformSpecific
final def encodeJsonStream(a: A): ZStream[Blocking, Throwable, Char]
Implicitly added by chunk

Encodes the specified value into a character stream.

Encodes the specified value into a character stream.

Inherited from
JsonEncoderPlatformSpecific
final def encodeJsonStream(a: A): ZStream[Blocking, Throwable, Char]
Implicitly added by set

Encodes the specified value into a character stream.

Encodes the specified value into a character stream.

Inherited from
JsonEncoderPlatformSpecific
final def encodeJsonStream(a: A): ZStream[Blocking, Throwable, Char]
Implicitly added by tuple1

Encodes the specified value into a character stream.

Encodes the specified value into a character stream.

Inherited from
JsonEncoderPlatformSpecific
final def encodeJsonStream(a: A): ZStream[Blocking, Throwable, Char]
Implicitly added by vector

Encodes the specified value into a character stream.

Encodes the specified value into a character stream.

Inherited from
JsonEncoderPlatformSpecific
final def encodeJsonStream(a: A): ZStream[Blocking, Throwable, Char]
Implicitly added by iterable

Encodes the specified value into a character stream.

Encodes the specified value into a character stream.

Inherited from
JsonEncoderPlatformSpecific
final def encodeJsonStream(a: A): ZStream[Blocking, Throwable, Char]
Implicitly added by list

Encodes the specified value into a character stream.

Encodes the specified value into a character stream.

Inherited from
JsonEncoderPlatformSpecific
final def encodeJsonStream(a: A): ZStream[Blocking, Throwable, Char]
Implicitly added by seq

Encodes the specified value into a character stream.

Encodes the specified value into a character stream.

Inherited from
JsonEncoderPlatformSpecific
final def encodeJsonStream(a: A): ZStream[Blocking, Throwable, Char]
Implicitly added by hashSet

Encodes the specified value into a character stream.

Encodes the specified value into a character stream.

Inherited from
JsonEncoderPlatformSpecific
final def encodeJsonStream(a: A): ZStream[Blocking, Throwable, Char]

Encodes the specified value into a character stream.

Encodes the specified value into a character stream.

Inherited from
JsonEncoderPlatformSpecific
def fromJsonAST(json: Json): Either[String, A]
Implicitly added by option

Decode a value from an already parsed Json AST.

Decode a value from an already parsed Json AST.

The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.

Inherited from
JsonDecoder
def fromJsonAST(json: Json): Either[String, A]
Implicitly added by chunk

Decode a value from an already parsed Json AST.

Decode a value from an already parsed Json AST.

The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.

Inherited from
JsonDecoder
def fromJsonAST(json: Json): Either[String, A]
Implicitly added by set

Decode a value from an already parsed Json AST.

Decode a value from an already parsed Json AST.

The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.

Inherited from
JsonDecoder
def fromJsonAST(json: Json): Either[String, A]
Implicitly added by tuple1

Decode a value from an already parsed Json AST.

Decode a value from an already parsed Json AST.

The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.

Inherited from
JsonDecoder
def fromJsonAST(json: Json): Either[String, A]
Implicitly added by vector

Decode a value from an already parsed Json AST.

Decode a value from an already parsed Json AST.

The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.

Inherited from
JsonDecoder
def fromJsonAST(json: Json): Either[String, A]
Implicitly added by iterable

Decode a value from an already parsed Json AST.

Decode a value from an already parsed Json AST.

The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.

Inherited from
JsonDecoder
def fromJsonAST(json: Json): Either[String, A]
Implicitly added by list

Decode a value from an already parsed Json AST.

Decode a value from an already parsed Json AST.

The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.

Inherited from
JsonDecoder
def fromJsonAST(json: Json): Either[String, A]
Implicitly added by seq

Decode a value from an already parsed Json AST.

Decode a value from an already parsed Json AST.

The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.

Inherited from
JsonDecoder
def fromJsonAST(json: Json): Either[String, A]
Implicitly added by hashSet

Decode a value from an already parsed Json AST.

Decode a value from an already parsed Json AST.

The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.

Inherited from
JsonDecoder
def fromJsonAST(json: Json): Either[String, A]

Decode a value from an already parsed Json AST.

Decode a value from an already parsed Json AST.

The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.

Inherited from
JsonDecoder
@nowarn("msg=is never used")
def isNothing(a: A): Boolean
Implicitly added by option

This default may be overriden when this value may be missing within a JSON object and still be encoded.

This default may be overriden when this value may be missing within a JSON object and still be encoded.

Inherited from
JsonEncoder
@nowarn("msg=is never used")
def isNothing(a: A): Boolean
Implicitly added by chunk

This default may be overriden when this value may be missing within a JSON object and still be encoded.

This default may be overriden when this value may be missing within a JSON object and still be encoded.

Inherited from
JsonEncoder
@nowarn("msg=is never used")
def isNothing(a: A): Boolean
Implicitly added by set

This default may be overriden when this value may be missing within a JSON object and still be encoded.

This default may be overriden when this value may be missing within a JSON object and still be encoded.

Inherited from
JsonEncoder
@nowarn("msg=is never used")
def isNothing(a: A): Boolean
Implicitly added by tuple1

This default may be overriden when this value may be missing within a JSON object and still be encoded.

This default may be overriden when this value may be missing within a JSON object and still be encoded.

Inherited from
JsonEncoder
@nowarn("msg=is never used")
def isNothing(a: A): Boolean
Implicitly added by vector

This default may be overriden when this value may be missing within a JSON object and still be encoded.

This default may be overriden when this value may be missing within a JSON object and still be encoded.

Inherited from
JsonEncoder
@nowarn("msg=is never used")
def isNothing(a: A): Boolean
Implicitly added by iterable

This default may be overriden when this value may be missing within a JSON object and still be encoded.

This default may be overriden when this value may be missing within a JSON object and still be encoded.

Inherited from
JsonEncoder
@nowarn("msg=is never used")
def isNothing(a: A): Boolean
Implicitly added by list

This default may be overriden when this value may be missing within a JSON object and still be encoded.

This default may be overriden when this value may be missing within a JSON object and still be encoded.

Inherited from
JsonEncoder
@nowarn("msg=is never used")
def isNothing(a: A): Boolean
Implicitly added by seq

This default may be overriden when this value may be missing within a JSON object and still be encoded.

This default may be overriden when this value may be missing within a JSON object and still be encoded.

Inherited from
JsonEncoder
@nowarn("msg=is never used")
def isNothing(a: A): Boolean
Implicitly added by hashSet

This default may be overriden when this value may be missing within a JSON object and still be encoded.

This default may be overriden when this value may be missing within a JSON object and still be encoded.

Inherited from
JsonEncoder
@nowarn("msg=is never used")
def isNothing(a: A): Boolean

This default may be overriden when this value may be missing within a JSON object and still be encoded.

This default may be overriden when this value may be missing within a JSON object and still be encoded.

Inherited from
JsonEncoder
def map[B](f: A => B): JsonDecoder[B]
Implicitly added by option

Returns a new codec whose decoded values will be mapped by the specified function.

Returns a new codec whose decoded values will be mapped by the specified function.

Inherited from
JsonDecoder
def map[B](f: A => B): JsonDecoder[B]
Implicitly added by chunk

Returns a new codec whose decoded values will be mapped by the specified function.

Returns a new codec whose decoded values will be mapped by the specified function.

Inherited from
JsonDecoder
def map[B](f: A => B): JsonDecoder[B]
Implicitly added by set

Returns a new codec whose decoded values will be mapped by the specified function.

Returns a new codec whose decoded values will be mapped by the specified function.

Inherited from
JsonDecoder
def map[B](f: A => B): JsonDecoder[B]
Implicitly added by tuple1

Returns a new codec whose decoded values will be mapped by the specified function.

Returns a new codec whose decoded values will be mapped by the specified function.

Inherited from
JsonDecoder
def map[B](f: A => B): JsonDecoder[B]
Implicitly added by vector

Returns a new codec whose decoded values will be mapped by the specified function.

Returns a new codec whose decoded values will be mapped by the specified function.

Inherited from
JsonDecoder
def map[B](f: A => B): JsonDecoder[B]
Implicitly added by iterable

Returns a new codec whose decoded values will be mapped by the specified function.

Returns a new codec whose decoded values will be mapped by the specified function.

Inherited from
JsonDecoder
def map[B](f: A => B): JsonDecoder[B]
Implicitly added by list

Returns a new codec whose decoded values will be mapped by the specified function.

Returns a new codec whose decoded values will be mapped by the specified function.

Inherited from
JsonDecoder
def map[B](f: A => B): JsonDecoder[B]
Implicitly added by seq

Returns a new codec whose decoded values will be mapped by the specified function.

Returns a new codec whose decoded values will be mapped by the specified function.

Inherited from
JsonDecoder
def map[B](f: A => B): JsonDecoder[B]
Implicitly added by hashSet

Returns a new codec whose decoded values will be mapped by the specified function.

Returns a new codec whose decoded values will be mapped by the specified function.

Inherited from
JsonDecoder
def map[B](f: A => B): JsonDecoder[B]

Returns a new codec whose decoded values will be mapped by the specified function.

Returns a new codec whose decoded values will be mapped by the specified function.

Inherited from
JsonDecoder
final def mapOrFail[B](f: A => Either[String, B]): JsonDecoder[B]
Implicitly added by option

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Inherited from
JsonDecoder
final def mapOrFail[B](f: A => Either[String, B]): JsonDecoder[B]
Implicitly added by chunk

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Inherited from
JsonDecoder
final def mapOrFail[B](f: A => Either[String, B]): JsonDecoder[B]
Implicitly added by set

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Inherited from
JsonDecoder
final def mapOrFail[B](f: A => Either[String, B]): JsonDecoder[B]
Implicitly added by tuple1

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Inherited from
JsonDecoder
final def mapOrFail[B](f: A => Either[String, B]): JsonDecoder[B]
Implicitly added by vector

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Inherited from
JsonDecoder
final def mapOrFail[B](f: A => Either[String, B]): JsonDecoder[B]
Implicitly added by iterable

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Inherited from
JsonDecoder
final def mapOrFail[B](f: A => Either[String, B]): JsonDecoder[B]
Implicitly added by list

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Inherited from
JsonDecoder
final def mapOrFail[B](f: A => Either[String, B]): JsonDecoder[B]
Implicitly added by seq

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Inherited from
JsonDecoder
final def mapOrFail[B](f: A => Either[String, B]): JsonDecoder[B]
Implicitly added by hashSet

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Inherited from
JsonDecoder
final def mapOrFail[B](f: A => Either[String, B]): JsonDecoder[B]

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.

Inherited from
JsonDecoder
final def narrow[B <: A]: JsonEncoder[B]
Implicitly added by option

Returns this encoder but narrowed to the its given sub-type

Returns this encoder but narrowed to the its given sub-type

Inherited from
JsonEncoder
final def narrow[B <: A]: JsonEncoder[B]
Implicitly added by chunk

Returns this encoder but narrowed to the its given sub-type

Returns this encoder but narrowed to the its given sub-type

Inherited from
JsonEncoder
final def narrow[B <: A]: JsonEncoder[B]
Implicitly added by set

Returns this encoder but narrowed to the its given sub-type

Returns this encoder but narrowed to the its given sub-type

Inherited from
JsonEncoder
final def narrow[B <: A]: JsonEncoder[B]
Implicitly added by tuple1

Returns this encoder but narrowed to the its given sub-type

Returns this encoder but narrowed to the its given sub-type

Inherited from
JsonEncoder
final def narrow[B <: A]: JsonEncoder[B]
Implicitly added by vector

Returns this encoder but narrowed to the its given sub-type

Returns this encoder but narrowed to the its given sub-type

Inherited from
JsonEncoder
final def narrow[B <: A]: JsonEncoder[B]
Implicitly added by iterable

Returns this encoder but narrowed to the its given sub-type

Returns this encoder but narrowed to the its given sub-type

Inherited from
JsonEncoder
final def narrow[B <: A]: JsonEncoder[B]
Implicitly added by list

Returns this encoder but narrowed to the its given sub-type

Returns this encoder but narrowed to the its given sub-type

Inherited from
JsonEncoder
final def narrow[B <: A]: JsonEncoder[B]
Implicitly added by seq

Returns this encoder but narrowed to the its given sub-type

Returns this encoder but narrowed to the its given sub-type

Inherited from
JsonEncoder
final def narrow[B <: A]: JsonEncoder[B]
Implicitly added by hashSet

Returns this encoder but narrowed to the its given sub-type

Returns this encoder but narrowed to the its given sub-type

Inherited from
JsonEncoder
final def narrow[B <: A]: JsonEncoder[B]

Returns this encoder but narrowed to the its given sub-type

Returns this encoder but narrowed to the its given sub-type

Inherited from
JsonEncoder
final def orElse[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]
Implicitly added by option

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

For example, in the case of an alternative between Int and Boolean, a hand coded alternative would look like:

val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c         => JsonDecoder[Int].widen
}
Inherited from
JsonDecoder
final def orElse[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]
Implicitly added by chunk

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

For example, in the case of an alternative between Int and Boolean, a hand coded alternative would look like:

val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c         => JsonDecoder[Int].widen
}
Inherited from
JsonDecoder
final def orElse[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]
Implicitly added by set

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

For example, in the case of an alternative between Int and Boolean, a hand coded alternative would look like:

val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c         => JsonDecoder[Int].widen
}
Inherited from
JsonDecoder
final def orElse[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]
Implicitly added by tuple1

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

For example, in the case of an alternative between Int and Boolean, a hand coded alternative would look like:

val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c         => JsonDecoder[Int].widen
}
Inherited from
JsonDecoder
final def orElse[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]
Implicitly added by vector

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

For example, in the case of an alternative between Int and Boolean, a hand coded alternative would look like:

val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c         => JsonDecoder[Int].widen
}
Inherited from
JsonDecoder
final def orElse[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]
Implicitly added by iterable

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

For example, in the case of an alternative between Int and Boolean, a hand coded alternative would look like:

val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c         => JsonDecoder[Int].widen
}
Inherited from
JsonDecoder
final def orElse[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]
Implicitly added by list

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

For example, in the case of an alternative between Int and Boolean, a hand coded alternative would look like:

val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c         => JsonDecoder[Int].widen
}
Inherited from
JsonDecoder
final def orElse[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]
Implicitly added by seq

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

For example, in the case of an alternative between Int and Boolean, a hand coded alternative would look like:

val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c         => JsonDecoder[Int].widen
}
Inherited from
JsonDecoder
final def orElse[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]
Implicitly added by hashSet

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

For example, in the case of an alternative between Int and Boolean, a hand coded alternative would look like:

val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c         => JsonDecoder[Int].widen
}
Inherited from
JsonDecoder
final def orElse[A1 >: A](that: => JsonDecoder[A1]): JsonDecoder[A1]

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.

For example, in the case of an alternative between Int and Boolean, a hand coded alternative would look like:

val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c         => JsonDecoder[Int].widen
}
Inherited from
JsonDecoder
final def orElseEither[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]
Implicitly added by option

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Inherited from
JsonDecoder
final def orElseEither[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]
Implicitly added by chunk

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Inherited from
JsonDecoder
final def orElseEither[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]
Implicitly added by set

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Inherited from
JsonDecoder
final def orElseEither[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]
Implicitly added by tuple1

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Inherited from
JsonDecoder
final def orElseEither[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]
Implicitly added by vector

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Inherited from
JsonDecoder
final def orElseEither[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]
Implicitly added by iterable

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Inherited from
JsonDecoder
final def orElseEither[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]
Implicitly added by list

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Inherited from
JsonDecoder
final def orElseEither[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]
Implicitly added by seq

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Inherited from
JsonDecoder
final def orElseEither[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]
Implicitly added by hashSet

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Inherited from
JsonDecoder
final def orElseEither[B](that: => JsonDecoder[B]): JsonDecoder[Either[A, B]]

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.

Inherited from
JsonDecoder
def toJsonAST(a: A): Either[String, Json]
Implicitly added by option

Converts a value to a Json AST

Converts a value to a Json AST

The default implementation encodes the value to a Json byte stream and uses decode to parse that back to an AST. Override to provide a more performant implementation.

Inherited from
JsonEncoder
def toJsonAST(a: A): Either[String, Json]
Implicitly added by chunk

Converts a value to a Json AST

Converts a value to a Json AST

The default implementation encodes the value to a Json byte stream and uses decode to parse that back to an AST. Override to provide a more performant implementation.

Inherited from
JsonEncoder
def toJsonAST(a: A): Either[String, Json]
Implicitly added by set

Converts a value to a Json AST

Converts a value to a Json AST

The default implementation encodes the value to a Json byte stream and uses decode to parse that back to an AST. Override to provide a more performant implementation.

Inherited from
JsonEncoder
def toJsonAST(a: A): Either[String, Json]
Implicitly added by tuple1

Converts a value to a Json AST

Converts a value to a Json AST

The default implementation encodes the value to a Json byte stream and uses decode to parse that back to an AST. Override to provide a more performant implementation.

Inherited from
JsonEncoder
def toJsonAST(a: A): Either[String, Json]
Implicitly added by vector

Converts a value to a Json AST

Converts a value to a Json AST

The default implementation encodes the value to a Json byte stream and uses decode to parse that back to an AST. Override to provide a more performant implementation.

Inherited from
JsonEncoder
def toJsonAST(a: A): Either[String, Json]
Implicitly added by iterable

Converts a value to a Json AST

Converts a value to a Json AST

The default implementation encodes the value to a Json byte stream and uses decode to parse that back to an AST. Override to provide a more performant implementation.

Inherited from
JsonEncoder
def toJsonAST(a: A): Either[String, Json]
Implicitly added by list

Converts a value to a Json AST

Converts a value to a Json AST

The default implementation encodes the value to a Json byte stream and uses decode to parse that back to an AST. Override to provide a more performant implementation.

Inherited from
JsonEncoder
def toJsonAST(a: A): Either[String, Json]
Implicitly added by seq

Converts a value to a Json AST

Converts a value to a Json AST

The default implementation encodes the value to a Json byte stream and uses decode to parse that back to an AST. Override to provide a more performant implementation.

Inherited from
JsonEncoder
def toJsonAST(a: A): Either[String, Json]
Implicitly added by hashSet

Converts a value to a Json AST

Converts a value to a Json AST

The default implementation encodes the value to a Json byte stream and uses decode to parse that back to an AST. Override to provide a more performant implementation.

Inherited from
JsonEncoder
def toJsonAST(a: A): Either[String, Json]

Converts a value to a Json AST

Converts a value to a Json AST

The default implementation encodes the value to a Json byte stream and uses decode to parse that back to an AST. Override to provide a more performant implementation.

Inherited from
JsonEncoder
def unsafeDecode(trace: List[JsonError], in: RetractReader): A
Implicitly added by option

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Inherited from
JsonDecoder
def unsafeDecode(trace: List[JsonError], in: RetractReader): A
Implicitly added by chunk

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Inherited from
JsonDecoder
def unsafeDecode(trace: List[JsonError], in: RetractReader): A
Implicitly added by set

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Inherited from
JsonDecoder
def unsafeDecode(trace: List[JsonError], in: RetractReader): A
Implicitly added by tuple1

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Inherited from
JsonDecoder
def unsafeDecode(trace: List[JsonError], in: RetractReader): A
Implicitly added by vector

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Inherited from
JsonDecoder
def unsafeDecode(trace: List[JsonError], in: RetractReader): A
Implicitly added by iterable

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Inherited from
JsonDecoder
def unsafeDecode(trace: List[JsonError], in: RetractReader): A
Implicitly added by list

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Inherited from
JsonDecoder
def unsafeDecode(trace: List[JsonError], in: RetractReader): A
Implicitly added by seq

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Inherited from
JsonDecoder
def unsafeDecode(trace: List[JsonError], in: RetractReader): A
Implicitly added by hashSet

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Inherited from
JsonDecoder
def unsafeDecode(trace: List[JsonError], in: RetractReader): A

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.

Inherited from
JsonDecoder
def unsafeDecodeMissing(trace: List[JsonError]): A
Implicitly added by option
Inherited from
JsonDecoder
def unsafeDecodeMissing(trace: List[JsonError]): A
Implicitly added by chunk
Inherited from
JsonDecoder
def unsafeDecodeMissing(trace: List[JsonError]): A
Implicitly added by set
Inherited from
JsonDecoder
def unsafeDecodeMissing(trace: List[JsonError]): A
Implicitly added by tuple1
Inherited from
JsonDecoder
def unsafeDecodeMissing(trace: List[JsonError]): A
Implicitly added by vector
Inherited from
JsonDecoder
def unsafeDecodeMissing(trace: List[JsonError]): A
Implicitly added by iterable
Inherited from
JsonDecoder
def unsafeDecodeMissing(trace: List[JsonError]): A
Implicitly added by list
Inherited from
JsonDecoder
def unsafeDecodeMissing(trace: List[JsonError]): A
Implicitly added by seq
Inherited from
JsonDecoder
def unsafeDecodeMissing(trace: List[JsonError]): A
Implicitly added by hashSet
Inherited from
JsonDecoder
def unsafeDecodeMissing(trace: List[JsonError]): A
Inherited from
JsonDecoder
def unsafeEncode(a: A, indent: Option[Int], out: Write): Unit
Implicitly added by option
Inherited from
JsonEncoder
def unsafeEncode(a: A, indent: Option[Int], out: Write): Unit
Implicitly added by chunk
Inherited from
JsonEncoder
def unsafeEncode(a: A, indent: Option[Int], out: Write): Unit
Implicitly added by set
Inherited from
JsonEncoder
def unsafeEncode(a: A, indent: Option[Int], out: Write): Unit
Implicitly added by tuple1
Inherited from
JsonEncoder
def unsafeEncode(a: A, indent: Option[Int], out: Write): Unit
Implicitly added by vector
Inherited from
JsonEncoder
def unsafeEncode(a: A, indent: Option[Int], out: Write): Unit
Implicitly added by iterable
Inherited from
JsonEncoder
def unsafeEncode(a: A, indent: Option[Int], out: Write): Unit
Implicitly added by list
Inherited from
JsonEncoder
def unsafeEncode(a: A, indent: Option[Int], out: Write): Unit
Implicitly added by seq
Inherited from
JsonEncoder
def unsafeEncode(a: A, indent: Option[Int], out: Write): Unit
Implicitly added by hashSet
Inherited from
JsonEncoder
def unsafeEncode(a: A, indent: Option[Int], out: Write): Unit
Inherited from
JsonEncoder
final def widen[B >: A]: JsonDecoder[B]
Implicitly added by option

Returns this decoder but widened to the its given super-type

Returns this decoder but widened to the its given super-type

Inherited from
JsonDecoder
final def widen[B >: A]: JsonDecoder[B]
Implicitly added by chunk

Returns this decoder but widened to the its given super-type

Returns this decoder but widened to the its given super-type

Inherited from
JsonDecoder
final def widen[B >: A]: JsonDecoder[B]
Implicitly added by set

Returns this decoder but widened to the its given super-type

Returns this decoder but widened to the its given super-type

Inherited from
JsonDecoder
final def widen[B >: A]: JsonDecoder[B]
Implicitly added by tuple1

Returns this decoder but widened to the its given super-type

Returns this decoder but widened to the its given super-type

Inherited from
JsonDecoder
final def widen[B >: A]: JsonDecoder[B]
Implicitly added by vector

Returns this decoder but widened to the its given super-type

Returns this decoder but widened to the its given super-type

Inherited from
JsonDecoder
final def widen[B >: A]: JsonDecoder[B]
Implicitly added by iterable

Returns this decoder but widened to the its given super-type

Returns this decoder but widened to the its given super-type

Inherited from
JsonDecoder
final def widen[B >: A]: JsonDecoder[B]
Implicitly added by list

Returns this decoder but widened to the its given super-type

Returns this decoder but widened to the its given super-type

Inherited from
JsonDecoder
final def widen[B >: A]: JsonDecoder[B]
Implicitly added by seq

Returns this decoder but widened to the its given super-type

Returns this decoder but widened to the its given super-type

Inherited from
JsonDecoder
final def widen[B >: A]: JsonDecoder[B]
Implicitly added by hashSet

Returns this decoder but widened to the its given super-type

Returns this decoder but widened to the its given super-type

Inherited from
JsonDecoder
final def widen[B >: A]: JsonDecoder[B]

Returns this decoder but widened to the its given super-type

Returns this decoder but widened to the its given super-type

Inherited from
JsonDecoder
final def zip[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]
Implicitly added by option

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Inherited from
JsonDecoder
final def zip[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]
Implicitly added by chunk

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Inherited from
JsonDecoder
final def zip[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]
Implicitly added by set

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Inherited from
JsonDecoder
final def zip[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]
Implicitly added by tuple1

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Inherited from
JsonDecoder
final def zip[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]
Implicitly added by vector

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Inherited from
JsonDecoder
final def zip[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]
Implicitly added by iterable

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Inherited from
JsonDecoder
final def zip[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]
Implicitly added by list

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Inherited from
JsonDecoder
final def zip[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]
Implicitly added by seq

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Inherited from
JsonDecoder
final def zip[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]
Implicitly added by hashSet

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Inherited from
JsonDecoder
final def zip[B](that: => JsonDecoder[B]): JsonDecoder[(A, B)]

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.

Inherited from
JsonDecoder
final def zipLeft[B](that: => JsonDecoder[B]): JsonDecoder[A]
Implicitly added by option

Zips two codecs, but discards the output on the right hand side.

Zips two codecs, but discards the output on the right hand side.

Inherited from
JsonDecoder
final def zipLeft[B](that: => JsonDecoder[B]): JsonDecoder[A]
Implicitly added by chunk

Zips two codecs, but discards the output on the right hand side.

Zips two codecs, but discards the output on the right hand side.

Inherited from
JsonDecoder
final def zipLeft[B](that: => JsonDecoder[B]): JsonDecoder[A]
Implicitly added by set

Zips two codecs, but discards the output on the right hand side.

Zips two codecs, but discards the output on the right hand side.

Inherited from
JsonDecoder
final def zipLeft[B](that: => JsonDecoder[B]): JsonDecoder[A]
Implicitly added by tuple1

Zips two codecs, but discards the output on the right hand side.

Zips two codecs, but discards the output on the right hand side.

Inherited from
JsonDecoder
final def zipLeft[B](that: => JsonDecoder[B]): JsonDecoder[A]
Implicitly added by vector

Zips two codecs, but discards the output on the right hand side.

Zips two codecs, but discards the output on the right hand side.

Inherited from
JsonDecoder
final def zipLeft[B](that: => JsonDecoder[B]): JsonDecoder[A]
Implicitly added by iterable

Zips two codecs, but discards the output on the right hand side.

Zips two codecs, but discards the output on the right hand side.

Inherited from
JsonDecoder
final def zipLeft[B](that: => JsonDecoder[B]): JsonDecoder[A]
Implicitly added by list

Zips two codecs, but discards the output on the right hand side.

Zips two codecs, but discards the output on the right hand side.

Inherited from
JsonDecoder
final def zipLeft[B](that: => JsonDecoder[B]): JsonDecoder[A]
Implicitly added by seq

Zips two codecs, but discards the output on the right hand side.

Zips two codecs, but discards the output on the right hand side.

Inherited from
JsonDecoder
final def zipLeft[B](that: => JsonDecoder[B]): JsonDecoder[A]
Implicitly added by hashSet

Zips two codecs, but discards the output on the right hand side.

Zips two codecs, but discards the output on the right hand side.

Inherited from
JsonDecoder
final def zipLeft[B](that: => JsonDecoder[B]): JsonDecoder[A]

Zips two codecs, but discards the output on the right hand side.

Zips two codecs, but discards the output on the right hand side.

Inherited from
JsonDecoder
final def zipRight[B](that: => JsonDecoder[B]): JsonDecoder[B]
Implicitly added by option

Zips two codecs, but discards the output on the left hand side.

Zips two codecs, but discards the output on the left hand side.

Inherited from
JsonDecoder
final def zipRight[B](that: => JsonDecoder[B]): JsonDecoder[B]
Implicitly added by chunk

Zips two codecs, but discards the output on the left hand side.

Zips two codecs, but discards the output on the left hand side.

Inherited from
JsonDecoder
final def zipRight[B](that: => JsonDecoder[B]): JsonDecoder[B]
Implicitly added by set

Zips two codecs, but discards the output on the left hand side.

Zips two codecs, but discards the output on the left hand side.

Inherited from
JsonDecoder
final def zipRight[B](that: => JsonDecoder[B]): JsonDecoder[B]
Implicitly added by tuple1

Zips two codecs, but discards the output on the left hand side.

Zips two codecs, but discards the output on the left hand side.

Inherited from
JsonDecoder
final def zipRight[B](that: => JsonDecoder[B]): JsonDecoder[B]
Implicitly added by vector

Zips two codecs, but discards the output on the left hand side.

Zips two codecs, but discards the output on the left hand side.

Inherited from
JsonDecoder
final def zipRight[B](that: => JsonDecoder[B]): JsonDecoder[B]
Implicitly added by iterable

Zips two codecs, but discards the output on the left hand side.

Zips two codecs, but discards the output on the left hand side.

Inherited from
JsonDecoder
final def zipRight[B](that: => JsonDecoder[B]): JsonDecoder[B]
Implicitly added by list

Zips two codecs, but discards the output on the left hand side.

Zips two codecs, but discards the output on the left hand side.

Inherited from
JsonDecoder
final def zipRight[B](that: => JsonDecoder[B]): JsonDecoder[B]
Implicitly added by seq

Zips two codecs, but discards the output on the left hand side.

Zips two codecs, but discards the output on the left hand side.

Inherited from
JsonDecoder
final def zipRight[B](that: => JsonDecoder[B]): JsonDecoder[B]
Implicitly added by hashSet

Zips two codecs, but discards the output on the left hand side.

Zips two codecs, but discards the output on the left hand side.

Inherited from
JsonDecoder
final def zipRight[B](that: => JsonDecoder[B]): JsonDecoder[B]

Zips two codecs, but discards the output on the left hand side.

Zips two codecs, but discards the output on the left hand side.

Inherited from
JsonDecoder
final def zipWith[B, C](that: => JsonDecoder[B])(f: (A, B) => C): JsonDecoder[C]
Implicitly added by option

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Inherited from
JsonDecoder
final def zipWith[B, C](that: => JsonDecoder[B])(f: (A, B) => C): JsonDecoder[C]
Implicitly added by chunk

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Inherited from
JsonDecoder
final def zipWith[B, C](that: => JsonDecoder[B])(f: (A, B) => C): JsonDecoder[C]
Implicitly added by set

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Inherited from
JsonDecoder
final def zipWith[B, C](that: => JsonDecoder[B])(f: (A, B) => C): JsonDecoder[C]
Implicitly added by tuple1

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Inherited from
JsonDecoder
final def zipWith[B, C](that: => JsonDecoder[B])(f: (A, B) => C): JsonDecoder[C]
Implicitly added by vector

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Inherited from
JsonDecoder
final def zipWith[B, C](that: => JsonDecoder[B])(f: (A, B) => C): JsonDecoder[C]
Implicitly added by iterable

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Inherited from
JsonDecoder
final def zipWith[B, C](that: => JsonDecoder[B])(f: (A, B) => C): JsonDecoder[C]
Implicitly added by list

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Inherited from
JsonDecoder
final def zipWith[B, C](that: => JsonDecoder[B])(f: (A, B) => C): JsonDecoder[C]
Implicitly added by seq

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Inherited from
JsonDecoder
final def zipWith[B, C](that: => JsonDecoder[B])(f: (A, B) => C): JsonDecoder[C]
Implicitly added by hashSet

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Inherited from
JsonDecoder
final def zipWith[B, C](that: => JsonDecoder[B])(f: (A, B) => C): JsonDecoder[C]

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Zips two codecs into one, transforming the outputs of both codecs by the specified function.

Inherited from
JsonDecoder

Inherited fields

final val encodeJsonArrayTransducer: ZTransducer[Blocking, Throwable, A, Char]
Implicitly added by option
final val encodeJsonArrayTransducer: ZTransducer[Blocking, Throwable, A, Char]
Implicitly added by chunk
final val encodeJsonArrayTransducer: ZTransducer[Blocking, Throwable, A, Char]
Implicitly added by set
final val encodeJsonArrayTransducer: ZTransducer[Blocking, Throwable, A, Char]
Implicitly added by tuple1
final val encodeJsonArrayTransducer: ZTransducer[Blocking, Throwable, A, Char]
Implicitly added by vector
final val encodeJsonArrayTransducer: ZTransducer[Blocking, Throwable, A, Char]
Implicitly added by iterable
final val encodeJsonArrayTransducer: ZTransducer[Blocking, Throwable, A, Char]
Implicitly added by list
final val encodeJsonArrayTransducer: ZTransducer[Blocking, Throwable, A, Char]
Implicitly added by seq
final val encodeJsonArrayTransducer: ZTransducer[Blocking, Throwable, A, Char]
Implicitly added by hashSet
final val encodeJsonArrayTransducer: ZTransducer[Blocking, Throwable, A, Char]
final val encodeJsonLinesTransducer: ZTransducer[Blocking, Throwable, A, Char]
Implicitly added by option
final val encodeJsonLinesTransducer: ZTransducer[Blocking, Throwable, A, Char]
Implicitly added by chunk
final val encodeJsonLinesTransducer: ZTransducer[Blocking, Throwable, A, Char]
Implicitly added by set
final val encodeJsonLinesTransducer: ZTransducer[Blocking, Throwable, A, Char]
Implicitly added by tuple1
final val encodeJsonLinesTransducer: ZTransducer[Blocking, Throwable, A, Char]
Implicitly added by vector
final val encodeJsonLinesTransducer: ZTransducer[Blocking, Throwable, A, Char]
Implicitly added by iterable
final val encodeJsonLinesTransducer: ZTransducer[Blocking, Throwable, A, Char]
Implicitly added by list
final val encodeJsonLinesTransducer: ZTransducer[Blocking, Throwable, A, Char]
Implicitly added by seq
final val encodeJsonLinesTransducer: ZTransducer[Blocking, Throwable, A, Char]
Implicitly added by hashSet
final val encodeJsonLinesTransducer: ZTransducer[Blocking, Throwable, A, Char]