FormDataDecoder

Companion:
class
class Object
trait Matchable
class Any

Type members

Classlikes

final implicit class FormDataDecoderSyntax[A](decoder: FormDataDecoder[Either[String, A]]) extends AnyVal

Value members

Concrete methods

extractPrefix(prefix$2)(data)) })(((_$17:FormData)=>toTraverseOps[[A>:Nothing<:Any]=>Chain[A],Map[String,Chain[String]]](_$17.toList.map[Chain[List[Tuple2[String,Chain[String]]]]](((x$1:Tuple2[String,Chain[String]])=>x$1match{ caseTuple2(k,cv)=> cv.map[List[Tuple2[String,Chain[String]]]](((v:String)=>List.apply[Tuple2[String,Chain[String]]](Tuple2.apply[String,Chain[String]](k,Chain.apply[String](v))))) })).reduceOption[Chain[List[Tuple2[String,Chain[String]]]]](((left:Chain[List[Tuple2[String,Chain[String]]]],right:Chain[List[Tuple2[String,Chain[String]]]])=>left.zipWith[List[Tuple2[String,Chain[String]]],List[Tuple2[String,Chain[String]]]](right)(((_$18:List[Tuple2[String,Chain[String]]],_$19:List[Tuple2[String,Chain[String]]])=>_$18.++[Tuple2[String,Chain[String]]](_$19))))).getOrElse[Chain[List[Tuple2[String,Chain[String]]]]](Chain.empty[Nothing]).map[Map[String,Chain[String]]](((_$20:List[Tuple2[String,Chain[String]]])=>_$20.toMap[String,Chain[String]](refl[Tuple2[String,Chain[String]]]))))(catsDataInstancesForChain).traverse[[A>:Nothing<:Any]=>ValidatedNel[ParseFailure,A],A](((d:Map[String,Chain[String]])=>A.apply(d)))(catsDataApplicativeErrorForValidated[NonEmptyList[ParseFailure]](catsDataSemigroupForNonEmptyList[ParseFailure]))))" class="documentableAnchor">

For repeated nested values, assuming that the form parameter name use "[]." as a suffix E.g. "foos[].bar"

For repeated nested values, assuming that the form parameter name use "[]." as a suffix E.g. "foos[].bar"

def listOf[A](key: String)(implicit A: QueryParamDecoder[A]): FormDataDecoder[List[A]]

For repeated primitive values, assuming that the form parameter name use "[]" as a suffix E.g. "foos[]"

For repeated primitive values, assuming that the form parameter name use "[]" as a suffix E.g. "foos[]"

For nested, this decoder assumes that the form parameter name use "." as deliminator for levels. E.g. For a field named "bar" inside a nested class under the field "foo", the parameter name is "foo.bar".

For nested, this decoder assumes that the form parameter name use "." as deliminator for levels. E.g. For a field named "bar" inside a nested class under the field "foo", the parameter name is "foo.bar".

For nested, this decoder assumes that the form parameter name use "." as deliminator for levels. E.g. For a field named "bar" inside a nested class under the field "foo", the parameter name is "foo.bar".

For nested, this decoder assumes that the form parameter name use "." as deliminator for levels. E.g. For a field named "bar" inside a nested class under the field "foo", the parameter name is "foo.bar".