Companion object to the JsonSerializable type-class, containing its interface and its implementations.
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
JsonSerializable.type
Members list
Type members
Classlikes
The implementation of the JsonSerializable type-class for the JsonElement type.
The implementation of the JsonSerializable type-class for the JsonElement type.
Attributes
- Supertypes
- Self type
Givens
Givens
The implementation of the io.circe.Decoder type-class for the JsonElement type.
The implementation of the io.circe.Decoder type-class for the JsonTemplate type.
The implementation of the io.circe.Decoder type-class for the JsonTuple type.
The implementation of the io.circe.Encoder type-class for the JsonElement type.
The implementation of the io.circe.Encoder type-class for the JsonTemplate type.
The implementation of the io.circe.Encoder type-class for the JsonTuple type.
The implementation of the JsonSerializable type-class for the JsonElement type.
The implementation of the JsonSerializable type-class for the JsonTemplate type.
The implementation of the JsonSerializable type-class for the JsonTuple type.
Extensions
Extensions
Deserializes this string into a scala.util.Success containing a JsonElement, if the string is in a valid JSON format and the semantic of the JSON element are followed. A scala.util.Failure containing a Throwable explaining the reason of the failure in deserializing is returned otherwise.
Deserializes this string into a scala.util.Success containing a JsonElement, if the string is in a valid JSON format and the semantic of the JSON element are followed. A scala.util.Failure containing a Throwable explaining the reason of the failure in deserializing is returned otherwise.
Attributes
- Returns
-
a JsonElement if the deserialization completes with success, a Throwable otherwise
Deserializes this string into a scala.util.Success containing a JsonTemplate, if the string is in a valid JSON format and the semantic of the JSON template are followed. A scala.util.Failure containing a Throwable explaining the reason of the failure in deserializing is returned otherwise.
Deserializes this string into a scala.util.Success containing a JsonTemplate, if the string is in a valid JSON format and the semantic of the JSON template are followed. A scala.util.Failure containing a Throwable explaining the reason of the failure in deserializing is returned otherwise.
Attributes
- Returns
-
a JsonTemplate if the deserialization completes with success, a Throwable otherwise
Deserializes this string into a scala.util.Success containing a JsonTuple, if the string is in a valid JSON format and the semantic of the JSON tuple are followed. A scala.util.Failure containing a Throwable explaining the reason of the failure in deserializing is returned otherwise.
Deserializes this string into a scala.util.Success containing a JsonTuple, if the string is in a valid JSON format and the semantic of the JSON tuple are followed. A scala.util.Failure containing a Throwable explaining the reason of the failure in deserializing is returned otherwise.