Trait/Object

json

ObjectAccessor

Related Docs: object ObjectAccessor | package json

Permalink

trait ObjectAccessor[T] extends JSONAccessorProducer[T, JObject]

ObjectAccessor is a JSONAccessor for objects that have named fields. Generally these are mostly seen as auto-generated json.internal.CaseClassObjectAccessor case class accessors. Extend this if you need to make a custom accessor that has named fields.

T

The base type this accessor is for.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ObjectAccessor
  2. JSONAccessorProducer
  3. CreateJSON
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type LocalType = T

    Permalink
    Definition Classes
    JSONAccessorProducer

Abstract Value Members

  1. abstract def clazz: Class[_]

    Permalink
    Definition Classes
    JSONAccessorProducer
  2. abstract def createJSON(obj: T): JObject

    Permalink
    Definition Classes
    CreateJSON
  3. abstract def fields: IndexedSeq[FieldAccessor[T, _]]

    Permalink

    Accessor for each named field.

    Accessor for each named field. Includes type accessor for field, defaults, annotations, etc.

  4. abstract def fromJSON(js: JValue): T

    Permalink
    Definition Classes
    JSONAccessorProducer

Concrete Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def canEqual(that: Any): Boolean

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def describe: JObject

    Permalink
    Definition Classes
    ObjectAccessorJSONAccessorProducer
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    ObjectAccessor → AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromString(value: String): T

    Permalink

    This is a special override for optimized versions that work with raw String keys

    This is a special override for optimized versions that work with raw String keys

    Definition Classes
    JSONAccessorProducer
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    ObjectAccessor → AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def referencedTypes: Seq[JSONAccessorProducer[_, _]]

    Permalink
    Definition Classes
    ObjectAccessorJSONAccessorProducer
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(value: T): String

    Permalink

    This is a special override for optimized versions that work with raw String keys

    This is a special override for optimized versions that work with raw String keys

    Definition Classes
    JSONAccessorProducer
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JSONAccessorProducer[T, JObject]

Inherited from CreateJSON[T, JObject]

Inherited from AnyRef

Inherited from Any

Ungrouped