trait JsonTransform extends JsonLoggingStrategy
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.
- Alphabetic
- By Inheritance
- JsonTransform
- JsonLoggingStrategy
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- implicit class JSerialization[T] extends AnyRef
Serialize any object to Json syntax tree.
Serialize any object to Json syntax tree. In this state, it is not JsonRawData, but it becomes JsonRawData by JsonVal.encode. A function that takes an implicit codec, but in many cases it will require explicit assignment.
???.toJson(CaseClassCodec.from[XXX])
- T
Any object type
- Attributes
- protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit def __toEntryMaterialization(raw: String)(implicit logEnabled: JsonConvertLogEnabled = JsonConvertLogEnabled.Default): JsonEntry
- Attributes
- protected
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def jsonReadLogging(v: => JsonVal)(implicit logEnabled: JsonConvertLogEnabled): JsonVal
- Definition Classes
- JsonLoggingStrategy
- def jsonWriteLogging(v: => JsonVal)(implicit logEnabled: JsonConvertLogEnabled): JsonVal
- Definition Classes
- JsonLoggingStrategy
- lazy val logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated