package json
- Alphabetic
- By Inheritance
- json
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Package Members
Type Members
- trait CodecDef extends All with CodecBuildFeature
Every interface for defining codecs is defined.
Every interface for defining codecs is defined. The interface used for the definition is this.
- Serialize(constructor) - Deserialize(constructor) - Format(constructor)(constructor)
- CaseClassCodec.from[T] - ConstCodec.pure(apply)(unapply) - ConstCodec.from(jsonkeyName...)(apply)(unapply)
- tuple(codec) - set(codec) - seq(codec) - vector(codec) - array(codec) - option(codec)
- trait JsonTransform extends JsonLoggingStrategy
Deserialization always builds an AST equivalent to the input and does not do any JSON DECODE of the escape character.
Deserialization always builds an AST equivalent to the input and does not do any JSON DECODE of the escape character.
Serialization always enforces JSON ENCODE. For example, if a JSON string contains a line break, the serialized result will always be a "\\n".
If you need JSON DECODE, use EncodedJsonTransform.
When used with an HTTP Server or Client, the communication target may not support JSON ENCODE / DECODE. In this case, it is safer to use EncodedJsonTransform. However, in such cases, if you want to input a backslash as a string, the behavior is not intended, so if this is a problem, check the destination's response/reception format and use an appropriate Transformer.
Value Members
- object Json
- object JsonTransform extends JsonTransform