object Operations extends Operations with ExtraImplicits
- Alphabetic
- By Inheritance
- Operations
- ExtraImplicits
- Operations
- OptionalFieldOperations
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait RichJsValue extends AnyRef
- Definition Classes
- ExtraImplicits
- trait MapOperation extends Operation
A MapOperation is one that expect an old value to be available.
A MapOperation is one that expect an old value to be available.
- Definition Classes
- Operations
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def append(update: Update): Operation
- Definition Classes
- Operations
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extract[M[_], T](value: Lens[M])(f: (M[T]) => Update): Operation
- Definition Classes
- Operations
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def modify[T](f: (T) => T)(implicit arg0: Reader[T], arg1: JsonWriter[T]): Operation
The
modify
operation applies a function on the (converted) valueThe
modify
operation applies a function on the (converted) value- Definition Classes
- Operations
- def modifyOrDeleteField[T](f: (T) => Option[T])(implicit arg0: Reader[T], arg1: JsonWriter[T]): Operation
The
modifyOrDeleteField
operation works together with theoptionalField
lens.The
modifyOrDeleteField
operation works together with theoptionalField
lens. The passed function is called for every existing field. If the function returnsSome(value)
, this will become the new value. If the function returnsNone
the field will be deleted.- Definition Classes
- OptionalFieldOperations
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit def richString(str: String): RichJsValue
- Definition Classes
- ExtraImplicits
- implicit def richValue(v: JsValue): RichJsValue
- Definition Classes
- ExtraImplicits
- def set[T](t: => T)(implicit arg0: JsonWriter[T]): Operation
The set operation sets or creates a value.
The set operation sets or creates a value.
- Definition Classes
- Operations
- def setOrUpdateField[T](default: => T)(f: (T) => T)(implicit arg0: Reader[T], arg1: JsonWriter[T]): Operation
The
setOrUpdateField
operation sets or updates an optionalField.The
setOrUpdateField
operation sets or updates an optionalField.- Definition Classes
- OptionalFieldOperations
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def update(update: Update): Operation
- Definition Classes
- Operations
- def updateOptionalField[T](f: (Option[T]) => Option[T])(implicit arg0: Reader[T], arg1: JsonWriter[T]): Operation
The
updateOptionalField
operation works together with theoptionalField
lens.The
updateOptionalField
operation works together with theoptionalField
lens. It allows to a) create a previously missing field b) update an existing field value c) remove an existing field d) ignore a missing field.- Definition Classes
- OptionalFieldOperations
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()