Attributes
Members list
Type members
Classlikes
Creates a new Encoder which emits the flat, concatenated encoding of two other encoders. Only works with encoders that encode to arrays or maps and both encoders must be of the same type, i.e. both encode to an array or both encode to a map. If the encoders are incompatible or produce elements that are not wrapped in an array or map each encoding attempt will fail with a Borer.Error.Unsupported exception.
Creates a new Encoder which emits the flat, concatenated encoding of two other encoders. Only works with encoders that encode to arrays or maps and both encoders must be of the same type, i.e. both encode to an array or both encode to a map. If the encoders are incompatible or produce elements that are not wrapped in an array or map each encoding attempt will fail with a Borer.Error.Unsupported exception.
Value parameters
- maxBufferSize
-
the maximum size of the buffer for the encoding of the first encoder
Attributes
- Supertypes
The default Encoder for Either is not automatically in scope, because there is no clear "standard" way of encoding instances of Either.
An Encoder that might not actually produce any output for certain values of T (e.g. because "not-present" already carries sufficient information).
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
StringBooleans.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
StringNulls.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
StringNumbers.type
Value members
Concrete methods
Extensions
Extensions
Creates a new Encoder which emits the flat, concatenated encoding of the underlying encoder and the given other one. Only works with encoders that encode to arrays or maps and both encoders must be of the same type, i.e. both encode to an array or both encode to a map. If the encoders are incompatible or produce elements that are not wrapped in an array or map each encoding attempt will fail with a Borer.Error.Unsupported exception.
Creates a new Encoder which emits the flat, concatenated encoding of the underlying encoder and the given other one. Only works with encoders that encode to arrays or maps and both encoders must be of the same type, i.e. both encode to an array or both encode to a map. If the encoders are incompatible or produce elements that are not wrapped in an array or map each encoding attempt will fail with a Borer.Error.Unsupported exception.
Value parameters
- maxBufferSize
-
the maximum size of the buffer for the encoding of the first encoder
Attributes
Implicits
Implicits
Inherited implicits
Attributes
- Inherited from:
- LowPrioEncoders
Attributes
- Inherited from:
- LowPrioEncoders