co.blocke.scalajack

ExtJson

trait ExtJson extends Any

Mix this trait into a value class' companion object to enable an optional ability for extended JSON rendering/reading. If you have this trait mixed you can toggle the extended rendering and reading with the optional 'ext' (Boolean) field in ScalaJack's read and render functions.

Note we must account for both unboxed and value class instances due to how Scala may or may not actually instantiate a value class.

Linear Supertypes
Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ExtJson
  2. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def fromJson(valueType: Field, jp: JsonEmitter, ext: Boolean, hint: String): Any

  2. abstract def getClass(): Class[_]

    Definition Classes
    Any
  3. abstract def toJson(obj: Any): String

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  2. final def ##(): Int

    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def equals(arg0: Any): Boolean

    Definition Classes
    Any
  6. def hashCode(): Int

    Definition Classes
    Any
  7. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  8. def toString(): String

    Definition Classes
    Any

Inherited from Any

Ungrouped