Codecs

works.iterative.core.codecs.Codecs
See theCodecs companion trait
object Codecs extends Codecs

Attributes

Companion
trait
Graph
Supertypes
trait Codecs
trait TapirCodecs
trait TapirCodecs
trait JsonCodecs
trait JsonCodecs
class Object
trait Matchable
class Any
Show all
Self type
Codecs.type

Members list

Value members

Inherited methods

def fromValidation[T](v: ZValidation[_, UserMessage, T]): Either[String, T]

Attributes

Inherited from:
JsonCodecs
def textCodec[T](f: String => ZValidation[_, UserMessage, T]): JsonCodec[T]

Attributes

Inherited from:
JsonCodecs
def validatedStringCodec[A](factory: ValidatedStringFactory[A]): JsonCodec[A]

Attributes

Inherited from:
JsonCodecs
def validatedStringDecoder[A](factory: ValidatedStringFactory[A]): JsonDecoder[A]

Attributes

Inherited from:
JsonCodecs
def validatedStringEncoder[A](factory: ValidatedStringFactory[A]): JsonEncoder[A]

Attributes

Inherited from:
JsonCodecs

Givens

Inherited givens

given fromValidatedStringCodec[A](using factory: ValidatedStringFactory[A]): JsonCodec[A]

Attributes

Inherited from:
JsonCodecs
given fromValidatedStringSchema[A](using factory: ValidatedStringFactory[A]): Schema[A]

Attributes

Inherited from:
TapirCodecs
given fromValidatedStringTapirCodec[A](using factory: ValidatedStringFactory[A]): Codec[String, A, TextPlain]

Attributes

Inherited from:
TapirCodecs
given given_Codec_String_AccessToken_TextPlain: Codec[String, AccessToken, TextPlain]

Attributes

Inherited from:
TapirCodecs
given given_Codec_String_Language_TextPlain: Codec[String, Language, TextPlain]

Attributes

Inherited from:
TapirCodecs
given given_Codec_String_PermissionTarget_TextPlain: Codec[String, PermissionTarget, TextPlain]

Attributes

Inherited from:
TapirCodecs
given given_JsonCodec_AccessToken: JsonCodec[AccessToken]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_AuthedUserInfo: JsonCodec[AuthedUserInfo]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_AuthenticationError: JsonCodec[AuthenticationError]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_Avatar: JsonCodec[Avatar]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_BasicProfile: JsonCodec[BasicProfile]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_Claim: JsonCodec[Claim]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_Email: JsonCodec[Email]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_EventRecord: JsonCodec[EventRecord]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_HtmlText: JsonCodec[HtmlText]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_ICO: JsonCodec[ICO]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_Markdown: JsonCodec[Markdown]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_MessageArg: JsonCodec[MessageArg]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_MessageId: JsonCodec[MessageId]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_Moment: JsonCodec[Moment]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_PermissionOp: JsonCodec[PermissionOp]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_PermissionTarget: JsonCodec[PermissionTarget]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_PlainMultiLine: JsonCodec[PlainMultiLine]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_PlainOneLine: JsonCodec[PlainOneLine]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_UserHandle: JsonCodec[UserHandle]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_UserId: JsonCodec[UserId]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_UserMessage: JsonCodec[UserMessage]

Attributes

Inherited from:
JsonCodecs
given given_JsonCodec_UserRole: JsonCodec[UserRole]

Attributes

Inherited from:
JsonCodecs
given given_Schema_AccessToken: Schema[AccessToken]

Attributes

Inherited from:
TapirCodecs
given given_Schema_AuthedUserInfo: Schema[AuthedUserInfo]

Attributes

Inherited from:
TapirCodecs
given given_Schema_AuthenticationError: Schema[AuthenticationError]

Attributes

Inherited from:
TapirCodecs
given given_Schema_Avatar: Schema[Avatar]

Attributes

Inherited from:
TapirCodecs
given given_Schema_BasicProfile: Schema[BasicProfile]

Attributes

Inherited from:
TapirCodecs
given given_Schema_Claim: Schema[Claim]

Attributes

Inherited from:
TapirCodecs
given given_Schema_Email: Schema[Email]

Attributes

Inherited from:
TapirCodecs
given given_Schema_EventRecord: Schema[EventRecord]

Attributes

Inherited from:
TapirCodecs
given given_Schema_HtmlText: Schema[HtmlText]

Attributes

Inherited from:
TapirCodecs
given given_Schema_Markdown: Schema[Markdown]

Attributes

Inherited from:
TapirCodecs
given given_Schema_MessageArg: Schema[MessageArg]

Attributes

Inherited from:
TapirCodecs
given given_Schema_MessageId: Schema[MessageId]

Attributes

Inherited from:
TapirCodecs
given given_Schema_Moment: Schema[Moment]

Attributes

Inherited from:
TapirCodecs
given given_Schema_PermissionOp: Schema[PermissionOp]

Attributes

Inherited from:
TapirCodecs
given given_Schema_PermissionTarget: Schema[PermissionTarget]

Attributes

Inherited from:
TapirCodecs
given given_Schema_PlainMultiLine: Schema[PlainMultiLine]

Attributes

Inherited from:
TapirCodecs
given given_Schema_PlainOneLine: Schema[PlainOneLine]

Attributes

Inherited from:
TapirCodecs
given given_Schema_UserHandle: Schema[UserHandle]

Attributes

Inherited from:
TapirCodecs
given given_Schema_UserId: Schema[UserId]

Attributes

Inherited from:
TapirCodecs
given given_Schema_UserMessage: Schema[UserMessage]

Attributes

Inherited from:
TapirCodecs
given given_Schema_UserName: Schema[UserName]

Attributes

Inherited from:
TapirCodecs
given given_Schema_UserRole: Schema[UserRole]

Attributes

Inherited from:
TapirCodecs