scala.pickling.json

JSONPickleReader

class JSONPickleReader extends PReader with PickleTools

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JSONPickleReader
  2. PickleTools
  3. PReader
  4. Hintable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JSONPickleReader(datum: Any, format: JSONPickleFormat)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

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

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

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

    Definition Classes
    Any
  6. def areHintsPinned: Boolean

    Definition Classes
    PickleTools
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def atObject: Boolean

    returns true if the reader is currently looking at a pickled object/structure.

    returns true if the reader is currently looking at a pickled object/structure.

    Definition Classes
    JSONPickleReaderPReader
  9. def atPrimitive: Boolean

    returns true if the reader is currently looking at a pickled primitive.

    returns true if the reader is currently looking at a pickled primitive.

    Definition Classes
    JSONPickleReaderPReader
  10. def beginCollection(): PReader

    Denotes we'd like to read the current entry as a collection.

    Denotes we'd like to read the current entry as a collection. Note: Must be called after a beginEntry* call.

    Definition Classes
    JSONPickleReaderPReader
  11. def beginEntry(): String

    Start reading a pickled value.

    Start reading a pickled value. This will return any serialized type tag key string. This string can be used to reconstitute a FastTypeTag w/ a mirror, but is intended for use as fast string-matching.

    Definition Classes
    JSONPickleReaderPReader
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. var datum: Any

  14. def endCollection(): Unit

    Denote that we are done reading a collection.

    Denote that we are done reading a collection.

    Definition Classes
    JSONPickleReaderPReader
  15. def endEntry(): Unit

    Denotes that we're done reading an entry in the pickle.

    Denotes that we're done reading an entry in the pickle.

    Definition Classes
    JSONPickleReaderPReader
  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  21. def hintElidedType(tag: FastTypeTag[_]): JSONPickleReader.this.type

    Hints to the pickle format that we KNOW the type of this field, so it can elide any type hints from the final pickle.

    Hints to the pickle format that we KNOW the type of this field, so it can elide any type hints from the final pickle. During unpickling, this informs the format that it shouldn't look for any type hints in the pickle, but instead use this tag as the unpickle tag key.

    Definition Classes
    PickleToolsHintable
  22. def hintKnownSize(knownSize: Int): JSONPickleReader.this.type

    Hints at the expected (byte) size of the entry we're about to write.

    Hints at the expected (byte) size of the entry we're about to write..

    Definition Classes
    PickleToolsHintable
  23. def hintOid(oid: Int): JSONPickleReader.this.type

    Hints the object id of the next beginEntry/endEntry calls.

    Hints the object id of the next beginEntry/endEntry calls. If this oid is -1, it implies that the next entry has not been registered in any sharing cache, and should be pickled fully. If the oid != -1, then the pickle format is free to elide the fields of the entry in favor of pickling a scala.pickling.refs.Ref.

    Hint: This is only used during pickling.

    Definition Classes
    PickleToolsHintable
  24. var hints: List[Hints]

    Attributes
    protected
    Definition Classes
    PickleTools
  25. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. def pinHints(): JSONPickleReader.this.type

    Locks the hints down to what we've specified, so if you drop into anotehr pickler it retains our information.

    Locks the hints down to what we've specified, so if you drop into anotehr pickler it retains our information.

    Definition Classes
    PickleToolsHintable
  30. def popHints(): JSONPickleReader.this.type

    Pops to the previously saved set of hints.

    Pops to the previously saved set of hints.

    Definition Classes
    PickleToolsHintable
  31. def pushHints(): JSONPickleReader.this.type

    Creates a new fresh set of hints, preserving what was hinted before.

    Creates a new fresh set of hints, preserving what was hinted before.

    Definition Classes
    PickleToolsHintable
  32. def readElement(): PReader

    Returns a new Reader that can be used to read the next element in a collection.

    Returns a new Reader that can be used to read the next element in a collection.

    Definition Classes
    JSONPickleReaderPReader
  33. def readField(name: String): JSONPickleReader

    Returns a reader which can read a field of a complex structure in the pickle.

    Returns a reader which can read a field of a complex structure in the pickle.

    name

    The name of the field

    returns

    A reader which can read the structure's field.

    Definition Classes
    JSONPickleReaderPReader
  34. def readLength(): Int

    Reads the length of a serialized collection.

    Reads the length of a serialized collection. Must be called directly after beginCollection and before readElement.

    returns

    The length of a serialized collection.

    Definition Classes
    JSONPickleReaderPReader
  35. def readPrimitive(): Any

    Reads one of the supported primitive types from the pickler.

    Reads one of the supported primitive types from the pickler.

    Definition Classes
    JSONPickleReaderPReader
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. def unpinHints(): JSONPickleReader.this.type

    Unlocks the hints.

    Unlocks the hints.

    Definition Classes
    PickleToolsHintable
  39. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def withHints[T](body: (Hints) ⇒ T): T

    Definition Classes
    PickleTools

Inherited from PickleTools

Inherited from PReader

Inherited from Hintable

Inherited from AnyRef

Inherited from Any

Ungrouped