Packages

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.

Linear Supertypes
JsonLoggingStrategy, LazyLogging, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonTransform
  2. JsonLoggingStrategy
  3. LazyLogging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit def __toEntryMaterialization(raw: String)(implicit logEnabled: JsonConvertLogEnabled = JsonConvertLogEnabled.Default): JsonEntry
    Attributes
    protected
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def jsonReadLogging(v: => JsonVal)(implicit logEnabled: JsonConvertLogEnabled): JsonVal
    Definition Classes
    JsonLoggingStrategy
  13. def jsonWriteLogging(v: => JsonVal)(implicit logEnabled: JsonConvertLogEnabled): JsonVal
    Definition Classes
    JsonLoggingStrategy
  14. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
    Annotations
    @transient()
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from JsonLoggingStrategy

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped