Showing content from https://www.playframework.com/documentation/2.5.x/api/scala/play/api/libs/json/package.html below:
json - play.api.libs.json
trait ConstraintFormat extends AnyRef
trait ConstraintReads extends AnyRef
trait ConstraintWrites extends AnyRef
trait DefaultFormat extends AnyRef
Default Json formatters.
trait DefaultReads extends LowPriorityDefaultReads
Default deserializer type classes.
trait DefaultWrites extends AnyRef
Default Serializers.
trait Format[A] extends Writes[A] with Reads[A]
Json formatter: write an implicit to define both a serializer and a deserializer for any type.
Json formatter: write an implicit to define both a serializer and a deserializer for any type.
-
Annotations
-
@implicitNotFound( ... )
case class IdxPathNode(idx: Int) extends PathNode with Product with Serializable
case class JsArray(value: Seq[JsValue] = List()) extends JsValue with Product with Serializable
Represent a Json array value.
case class JsBoolean(value: Boolean) extends JsValue with Product with Serializable
Represent a Json boolean value.
final case class JsDefined(value: JsValue) extends AnyVal with JsLookupResult with Product with Serializable
Wrapper for JsValue to represent an existing Json value.
case class JsError(errors: Seq[(JsPath, Seq[ValidationError])]) extends JsResult[Nothing] with Product with Serializable
final case class JsLookup(result: JsLookupResult) extends AnyVal with Product with Serializable
A value representing the value at a particular JSON path, either an actual JSON node or undefined.
sealed trait JsLookupResult extends JsReadable
case class JsNumber(value: BigDecimal) extends JsValue with Product with Serializable
Represent a Json number value.
case class JsObject(underlying: Map[String, JsValue]) extends JsValue with Product with Serializable
Represent a Json object value.
case class JsPath(path: List[PathNode] = List()) extends Product with Serializable
trait JsReadable extends Any
A trait representing a Json node which can be read as an arbitrary type A using a Reads[A]
sealed trait JsResult[+A] extends AnyRef
case class JsResultException(errors: Seq[(JsPath, Seq[ValidationError])]) extends RuntimeException with Product with Serializable
case class JsString(value: String) extends JsValue with Product with Serializable
Represent a Json string value.
case class JsSuccess[T](value: T, path: JsPath = JsPath()) extends JsResult[T] with Product with Serializable
final class JsUndefined extends JsLookupResult
Represent a missing Json value.
sealed trait JsValue extends JsReadable
Generic json value
case class KeyPathNode(key: String) extends PathNode with Product with Serializable
trait LowPriorityDefaultReads extends AnyRef
Low priority reads.
Low priority reads.
This exists as a compiler performance optimisation, so that the compiler doesn't have to rule them out when DefaultReads provides a simple match.
See https://github.com/playframework/playframework/issues/4313 for more details.
trait OFormat[A] extends OWrites[A] with Reads[A] with Format[A]
trait OWrites[-A] extends Writes[A]
-
Annotations
-
@implicitNotFound( ... )
trait PathFormat extends AnyRef
sealed trait PathNode extends AnyRef
trait PathReads extends AnyRef
trait PathWrites extends AnyRef
trait Reads[A] extends AnyRef
Json deserializer: write an implicit to define a deserializer for any type.
Json deserializer: write an implicit to define a deserializer for any type.
-
Annotations
-
@implicitNotFound( ... )
case class RecursiveSearch(key: String) extends PathNode with Product with Serializable
trait Writes[-A] extends AnyRef
Json serializer: write an implicit to define a serializer for any type
Json serializer: write an implicit to define a serializer for any type
-
Annotations
-
@implicitNotFound( ... )
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4