A JsonDecoder[A]
instance has the ability to decode JSON to values of type A
, potentially
failing with an error if the JSON content does not encode a value of the given type.
Attributes
- Companion:
- object
- Graph
- Supertypes
- Self type
- JsonDecoder[A]
Members list
Value members
Abstract methods
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Attributes
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Attributes
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Attributes
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Attributes
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Attributes
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Attributes
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Attributes
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Attributes
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Attributes
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Attributes
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Attributes
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Attributes
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Attributes
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Low-level, unsafe method to decode a value or throw an exception. This method should not be called in application code, although it can be implemented for user-defined data structures.
Attributes
Concrete methods
An alias for JsonDecoder#zipRight.
An alias for JsonDecoder#zipRight.
An alias for JsonDecoder#zipRight.
An alias for JsonDecoder#zipRight.
An alias for JsonDecoder#zipRight.
An alias for JsonDecoder#zipRight.
An alias for JsonDecoder#zipRight.
An alias for JsonDecoder#zipRight.
An alias for JsonDecoder#zipRight.
An alias for JsonDecoder#zipRight.
An alias for JsonDecoder#zipRight.
An alias for JsonDecoder#zipRight.
An alias for JsonDecoder#zipRight.
An alias for JsonDecoder#zipRight.
An alias for JsonDecoder#zipLeft.
An alias for JsonDecoder#zipLeft.
An alias for JsonDecoder#zipLeft.
An alias for JsonDecoder#zipLeft.
An alias for JsonDecoder#zipLeft.
An alias for JsonDecoder#zipLeft.
An alias for JsonDecoder#zipLeft.
An alias for JsonDecoder#zipLeft.
An alias for JsonDecoder#zipLeft.
An alias for JsonDecoder#zipLeft.
An alias for JsonDecoder#zipLeft.
An alias for JsonDecoder#zipLeft.
An alias for JsonDecoder#zipLeft.
An alias for JsonDecoder#zipLeft.
An alias for JsonDecoder#zip.
An alias for JsonDecoder#zip.
An alias for JsonDecoder#zip.
An alias for JsonDecoder#zip.
An alias for JsonDecoder#zip.
An alias for JsonDecoder#zip.
An alias for JsonDecoder#zip.
An alias for JsonDecoder#zip.
An alias for JsonDecoder#zip.
An alias for JsonDecoder#zip.
An alias for JsonDecoder#zip.
An alias for JsonDecoder#zip.
An alias for JsonDecoder#zip.
An alias for JsonDecoder#zip.
An alias for JsonDecoder#orElseEither.
An alias for JsonDecoder#orElseEither.
An alias for JsonDecoder#orElseEither.
An alias for JsonDecoder#orElseEither.
An alias for JsonDecoder#orElseEither.
An alias for JsonDecoder#orElseEither.
An alias for JsonDecoder#orElseEither.
An alias for JsonDecoder#orElseEither.
An alias for JsonDecoder#orElseEither.
An alias for JsonDecoder#orElseEither.
An alias for JsonDecoder#orElseEither.
An alias for JsonDecoder#orElseEither.
An alias for JsonDecoder#orElseEither.
An alias for JsonDecoder#orElseEither.
An alias for JsonDecoder#orElse.
An alias for JsonDecoder#orElse.
An alias for JsonDecoder#orElse.
An alias for JsonDecoder#orElse.
An alias for JsonDecoder#orElse.
An alias for JsonDecoder#orElse.
An alias for JsonDecoder#orElse.
An alias for JsonDecoder#orElse.
An alias for JsonDecoder#orElse.
An alias for JsonDecoder#orElse.
An alias for JsonDecoder#orElse.
An alias for JsonDecoder#orElse.
An alias for JsonDecoder#orElse.
An alias for JsonDecoder#orElse.
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Note: This method may not entirely consume the specified character sequence.
Attributes
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Note: This method may not entirely consume the specified character sequence.
Attributes
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Note: This method may not entirely consume the specified character sequence.
Attributes
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Note: This method may not entirely consume the specified character sequence.
Attributes
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Note: This method may not entirely consume the specified character sequence.
Attributes
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Note: This method may not entirely consume the specified character sequence.
Attributes
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Note: This method may not entirely consume the specified character sequence.
Attributes
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Note: This method may not entirely consume the specified character sequence.
Attributes
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Note: This method may not entirely consume the specified character sequence.
Attributes
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Note: This method may not entirely consume the specified character sequence.
Attributes
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Note: This method may not entirely consume the specified character sequence.
Attributes
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Note: This method may not entirely consume the specified character sequence.
Attributes
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Note: This method may not entirely consume the specified character sequence.
Attributes
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Attempts to decode a value of type A
from the specified CharSequence
, but may fail with
a human-readable error message if the provided text does not encode a value of this type.
Note: This method may not entirely consume the specified character sequence.
Attributes
Decode a value from an already parsed Json AST.
Decode a value from an already parsed Json AST.
The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.
Attributes
Decode a value from an already parsed Json AST.
Decode a value from an already parsed Json AST.
The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.
Attributes
Decode a value from an already parsed Json AST.
Decode a value from an already parsed Json AST.
The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.
Attributes
Decode a value from an already parsed Json AST.
Decode a value from an already parsed Json AST.
The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.
Attributes
Decode a value from an already parsed Json AST.
Decode a value from an already parsed Json AST.
The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.
Attributes
Decode a value from an already parsed Json AST.
Decode a value from an already parsed Json AST.
The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.
Attributes
Decode a value from an already parsed Json AST.
Decode a value from an already parsed Json AST.
The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.
Attributes
Decode a value from an already parsed Json AST.
Decode a value from an already parsed Json AST.
The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.
Attributes
Decode a value from an already parsed Json AST.
Decode a value from an already parsed Json AST.
The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.
Attributes
Decode a value from an already parsed Json AST.
Decode a value from an already parsed Json AST.
The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.
Attributes
Decode a value from an already parsed Json AST.
Decode a value from an already parsed Json AST.
The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.
Attributes
Decode a value from an already parsed Json AST.
Decode a value from an already parsed Json AST.
The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.
Attributes
Decode a value from an already parsed Json AST.
Decode a value from an already parsed Json AST.
The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.
Attributes
Decode a value from an already parsed Json AST.
Decode a value from an already parsed Json AST.
The default implementation encodes the Json to a byte stream and uses decode to parse that. Override to provide a more performant implementation.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function.
Returns a new codec whose decoded values will be mapped by the specified function.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function.
Returns a new codec whose decoded values will be mapped by the specified function.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function.
Returns a new codec whose decoded values will be mapped by the specified function.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function.
Returns a new codec whose decoded values will be mapped by the specified function.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function.
Returns a new codec whose decoded values will be mapped by the specified function.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function.
Returns a new codec whose decoded values will be mapped by the specified function.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function.
Returns a new codec whose decoded values will be mapped by the specified function.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function.
Returns a new codec whose decoded values will be mapped by the specified function.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function.
Returns a new codec whose decoded values will be mapped by the specified function.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function.
Returns a new codec whose decoded values will be mapped by the specified function.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function.
Returns a new codec whose decoded values will be mapped by the specified function.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function.
Returns a new codec whose decoded values will be mapped by the specified function.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function.
Returns a new codec whose decoded values will be mapped by the specified function.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function.
Returns a new codec whose decoded values will be mapped by the specified function.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Attributes
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Returns a new codec whose decoded values will be mapped by the specified function, which may itself decide to fail with some type of error.
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
For example, in the case of an alternative between Int
and Boolean
, a hand coded
alternative would look like:
val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c => JsonDecoder[Int].widen
}
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
For example, in the case of an alternative between Int
and Boolean
, a hand coded
alternative would look like:
val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c => JsonDecoder[Int].widen
}
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
For example, in the case of an alternative between Int
and Boolean
, a hand coded
alternative would look like:
val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c => JsonDecoder[Int].widen
}
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
For example, in the case of an alternative between Int
and Boolean
, a hand coded
alternative would look like:
val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c => JsonDecoder[Int].widen
}
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
For example, in the case of an alternative between Int
and Boolean
, a hand coded
alternative would look like:
val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c => JsonDecoder[Int].widen
}
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
For example, in the case of an alternative between Int
and Boolean
, a hand coded
alternative would look like:
val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c => JsonDecoder[Int].widen
}
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
For example, in the case of an alternative between Int
and Boolean
, a hand coded
alternative would look like:
val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c => JsonDecoder[Int].widen
}
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
For example, in the case of an alternative between Int
and Boolean
, a hand coded
alternative would look like:
val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c => JsonDecoder[Int].widen
}
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
For example, in the case of an alternative between Int
and Boolean
, a hand coded
alternative would look like:
val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c => JsonDecoder[Int].widen
}
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
For example, in the case of an alternative between Int
and Boolean
, a hand coded
alternative would look like:
val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c => JsonDecoder[Int].widen
}
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
For example, in the case of an alternative between Int
and Boolean
, a hand coded
alternative would look like:
val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c => JsonDecoder[Int].widen
}
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
For example, in the case of an alternative between Int
and Boolean
, a hand coded
alternative would look like:
val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c => JsonDecoder[Int].widen
}
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
For example, in the case of an alternative between Int
and Boolean
, a hand coded
alternative would look like:
val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c => JsonDecoder[Int].widen
}
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead. This method may be unsafe from a security perspective: it can use more memory than hand coded alternative and so lead to DOS.
For example, in the case of an alternative between Int
and Boolean
, a hand coded
alternative would look like:
val decoder: JsonDecoder[AnyVal] = JsonDecoder.peekChar[AnyVal] {
case 't' | 'f' => JsonDecoder[Boolean].widen
case c => JsonDecoder[Int].widen
}
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Attributes
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Returns a new codec that combines this codec and the specified codec using fallback semantics: such that if this codec fails, the specified codec will be tried instead.
Attributes
Returns this decoder but widened to the its given super-type
Returns this decoder but widened to the its given super-type
Attributes
Returns this decoder but widened to the its given super-type
Returns this decoder but widened to the its given super-type
Attributes
Returns this decoder but widened to the its given super-type
Returns this decoder but widened to the its given super-type
Attributes
Returns this decoder but widened to the its given super-type
Returns this decoder but widened to the its given super-type
Attributes
Returns this decoder but widened to the its given super-type
Returns this decoder but widened to the its given super-type
Attributes
Returns this decoder but widened to the its given super-type
Returns this decoder but widened to the its given super-type
Attributes
Returns this decoder but widened to the its given super-type
Returns this decoder but widened to the its given super-type
Attributes
Returns this decoder but widened to the its given super-type
Returns this decoder but widened to the its given super-type
Attributes
Returns this decoder but widened to the its given super-type
Returns this decoder but widened to the its given super-type
Attributes
Returns this decoder but widened to the its given super-type
Returns this decoder but widened to the its given super-type
Attributes
Returns this decoder but widened to the its given super-type
Returns this decoder but widened to the its given super-type
Attributes
Returns this decoder but widened to the its given super-type
Returns this decoder but widened to the its given super-type
Attributes
Returns this decoder but widened to the its given super-type
Returns this decoder but widened to the its given super-type
Attributes
Returns this decoder but widened to the its given super-type
Returns this decoder but widened to the its given super-type
Attributes
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Attributes
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Attributes
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Attributes
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Attributes
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Attributes
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Attributes
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Attributes
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Attributes
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Attributes
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Attributes
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Attributes
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Attributes
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Attributes
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Returns a new codec that combines this codec and the specified codec into a single codec that decodes a tuple of the values decoded by the respective codecs.
Attributes
Zips two codecs, but discards the output on the right hand side.
Zips two codecs, but discards the output on the right hand side.
Attributes
Zips two codecs, but discards the output on the right hand side.
Zips two codecs, but discards the output on the right hand side.
Attributes
Zips two codecs, but discards the output on the right hand side.
Zips two codecs, but discards the output on the right hand side.
Attributes
Zips two codecs, but discards the output on the right hand side.
Zips two codecs, but discards the output on the right hand side.
Attributes
Zips two codecs, but discards the output on the right hand side.
Zips two codecs, but discards the output on the right hand side.
Attributes
Zips two codecs, but discards the output on the right hand side.
Zips two codecs, but discards the output on the right hand side.
Attributes
Zips two codecs, but discards the output on the right hand side.
Zips two codecs, but discards the output on the right hand side.
Attributes
Zips two codecs, but discards the output on the right hand side.
Zips two codecs, but discards the output on the right hand side.
Attributes
Zips two codecs, but discards the output on the right hand side.
Zips two codecs, but discards the output on the right hand side.
Attributes
Zips two codecs, but discards the output on the right hand side.
Zips two codecs, but discards the output on the right hand side.
Attributes
Zips two codecs, but discards the output on the right hand side.
Zips two codecs, but discards the output on the right hand side.
Attributes
Zips two codecs, but discards the output on the right hand side.
Zips two codecs, but discards the output on the right hand side.
Attributes
Zips two codecs, but discards the output on the right hand side.
Zips two codecs, but discards the output on the right hand side.
Attributes
Zips two codecs, but discards the output on the right hand side.
Zips two codecs, but discards the output on the right hand side.
Attributes
Zips two codecs, but discards the output on the left hand side.
Zips two codecs, but discards the output on the left hand side.
Attributes
Zips two codecs, but discards the output on the left hand side.
Zips two codecs, but discards the output on the left hand side.
Attributes
Zips two codecs, but discards the output on the left hand side.
Zips two codecs, but discards the output on the left hand side.
Attributes
Zips two codecs, but discards the output on the left hand side.
Zips two codecs, but discards the output on the left hand side.
Attributes
Zips two codecs, but discards the output on the left hand side.
Zips two codecs, but discards the output on the left hand side.
Attributes
Zips two codecs, but discards the output on the left hand side.
Zips two codecs, but discards the output on the left hand side.
Attributes
Zips two codecs, but discards the output on the left hand side.
Zips two codecs, but discards the output on the left hand side.
Attributes
Zips two codecs, but discards the output on the left hand side.
Zips two codecs, but discards the output on the left hand side.
Attributes
Zips two codecs, but discards the output on the left hand side.
Zips two codecs, but discards the output on the left hand side.
Attributes
Zips two codecs, but discards the output on the left hand side.
Zips two codecs, but discards the output on the left hand side.
Attributes
Zips two codecs, but discards the output on the left hand side.
Zips two codecs, but discards the output on the left hand side.
Attributes
Zips two codecs, but discards the output on the left hand side.
Zips two codecs, but discards the output on the left hand side.
Attributes
Zips two codecs, but discards the output on the left hand side.
Zips two codecs, but discards the output on the left hand side.
Attributes
Zips two codecs, but discards the output on the left hand side.
Zips two codecs, but discards the output on the left hand side.
Attributes
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Attributes
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Attributes
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Attributes
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Attributes
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Attributes
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Attributes
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Attributes
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Attributes
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Attributes
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Attributes
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Attributes
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Attributes
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Attributes
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Zips two codecs into one, transforming the outputs of zip codecs by the specified function.
Attributes
Inherited methods
Attributes
- Inherited from:
- JsonDecoderPlatformSpecific
Attributes
- Inherited from:
- JsonDecoderPlatformSpecific
Attributes
- Inherited from:
- JsonDecoderPlatformSpecific
Attributes
- Inherited from:
- JsonDecoderPlatformSpecific
Attributes
- Inherited from:
- JsonDecoderPlatformSpecific
Attributes
- Inherited from:
- JsonDecoderPlatformSpecific
Attributes
- Inherited from:
- JsonDecoderPlatformSpecific
Attributes
- Inherited from:
- JsonDecoderPlatformSpecific
Attributes
- Inherited from:
- JsonDecoderPlatformSpecific
Attributes
- Inherited from:
- JsonDecoderPlatformSpecific
Attributes
- Inherited from:
- JsonDecoderPlatformSpecific
Attributes
- Inherited from:
- JsonDecoderPlatformSpecific
Attributes
- Inherited from:
- JsonDecoderPlatformSpecific
Attributes
- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of characters into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
decodeJsonStream For a
Char
stream variant- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
decodeJsonStream For a
Char
stream variant- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
decodeJsonStream For a
Char
stream variant- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
decodeJsonStream For a
Char
stream variant- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
decodeJsonStream For a
Char
stream variant- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
decodeJsonStream For a
Char
stream variant- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
decodeJsonStream For a
Char
stream variant- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
decodeJsonStream For a
Char
stream variant- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
decodeJsonStream For a
Char
stream variant- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
decodeJsonStream For a
Char
stream variant- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
decodeJsonStream For a
Char
stream variant- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
decodeJsonStream For a
Char
stream variant- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
decodeJsonStream For a
Char
stream variant- Inherited from:
- JsonDecoderPlatformSpecific
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Attempts to decode a stream of bytes using the user supplied Charset into a single value of type A
, but may fail with
a human-readable exception if the stream does not encode a value of this type.
Note: This method may not consume the full string.
Attributes
- See also:
decodeJsonStream For a
Char
stream variant- Inherited from:
- JsonDecoderPlatformSpecific