trait
Types extends AnyRef
Type Members
-
type
EitherNel[a] = \/[NonEmptyList[Error], a]
-
sealed abstract
class
Error extends Product with Serializable
-
trait
JSON[A] extends JSONR[A] with JSONW[A]
-
trait
JSONR[A] extends AnyRef
-
trait
JSONW[A] extends AnyRef
-
case class
NoSuchFieldError(name: String, json: JValue) extends Error with Product with Serializable
-
type
Result[A] = Validation[NonEmptyList[Error], A]
-
case class
UncategorizedError(key: String, desc: String, args: List[Any]) extends Error with Product with Serializable
-
case class
UnexpectedJSONError(was: JValue, expected: Class[_ <: JValue]) extends Error with Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
object
Fail extends Product with Serializable
-
implicit
val
JValueEqual: Equal[JValue]
-
implicit
val
JValueMonoid: Monoid[JValue]
-
implicit
def
Result2JSONR[A](f: (JValue) ⇒ Result[A]): JSONR[A]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
field[A](name: String)(json: JValue)(implicit arg0: JSONR[A]): Result[A]
-
def
finalize(): Unit
-
def
fromJSON[A](json: JValue)(implicit arg0: JSONR[A]): Result[A]
-
implicit
def
function2EitherNel[A](f: (A) ⇒ Result[A]): (A) ⇒ EitherNel[A]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
implicit
def
kleisli2Result[A](v: Kleisli[EitherNel, JValue, A]): (JValue) ⇒ Result[A]
-
def
makeObj(fields: Iterable[(String, JValue)]): JObject
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toJSON[A](value: A)(implicit arg0: JSONW[A]): JValue
-
def
toString(): String
-
def
validate[A](name: String)(implicit arg0: JSONR[A]): Kleisli[EitherNel, JValue, A]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any