Default Json formatters.
Default deserializer type classes.
Default Serializers.
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.
Represent a Json array value.
Represents a Json boolean value.
Wrapper for JsValue to represent an existing Json value.
The result in case of parsing errors
.
A value representing the value at a particular JSON path, either an actual JSON node or undefined.
Represent a Json number value.
Represent a Json object value.
Path to a JsValue; As for path to file on FS, there may not be any matching value in the parsed JSON.
A trait representing a Json node which can be read as an arbitrary type A using a Reads[A]
Represent a Json string value.
The result for a successful parsing.
Represent a missing Json value.
Generic json value
JSON configuration
Naming strategy, to map each class property to the corresponding column.
A JSON validation error representation.
Low priority reads.
Low priority reads.
This exists as a compiler performance optimization, 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.
A Reads
object describes how to decode JSON into a value.
A Reads
object describes how to decode JSON into a value.
Reads
objects are typically provided as implicit values. When Reads
implicit values are in scope, a program is able to deserialize JSON
into values of the right type.
The inverse of a Reads
object is a Writes object, which describes
how to encode a value into JSON. If you combine a Reads
and a Writes
then you get a Format.
Json serializer: write an implicit to define a serializer for any type
Json serializer: write an implicit to define a serializer for any type
Default Json formatters.
Represents Json Boolean False value.
Represents a Json null value.
Companion object and root path.
Companion object and root path.
For an object { "name": "foo" }
, the path to the name
property is:
JsPath \ "name"
For an object { "id": 1, "nested": { "score": 0.12 } }
,
the path to the nested score
is:
JsPath \ "nested" \ "score"
Represents Json Boolean True value.
Helper functions to handle JsValues.
Naming companion
Default deserializer type classes.
Default Serializers.
Alias for JsPath
companion object
Json API For example: