p

upickle

implicits

package implicits

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package internal

Type Members

  1. trait BaseCaseObjectContext extends AnyRef
  2. trait CaseClassReadWriters extends Types

    Basic functionality to be able to read and write objects.

    Basic functionality to be able to read and write objects. Kept as a trait so other internal files can use it, while also mixing it into the upickle package to form the public API1

  3. abstract class CaseObjectContext[V] extends ObjVisitor[Any, V] with BaseCaseObjectContext
  4. trait Generated extends TupleReadWriters

    Auto-generated picklers and unpicklers, used for creating the 22 versions of tuple-picklers and case-class picklers

  5. abstract class HugeCaseObjectContext[V] extends ObjVisitor[Any, V] with BaseCaseObjectContext
  6. trait LowPriWriters extends Types

    This needs to be split into a separate trait due to https://github.com/scala/bug/issues/11768

  7. trait MacroImplicits extends MacrosCommon
  8. trait MacrosCommon extends Config with Types
  9. trait Readers extends Types with TupleReadWriters with Generated with ReadersVersionSpecific
  10. trait ReadersVersionSpecific extends MacroImplicits
  11. trait TupleReadWriters extends Types

    Basic functionality to be able to read and write objects.

    Basic functionality to be able to read and write objects. Kept as a trait so other internal files can use it, while also mixing it into the upickle package to form the public API1

  12. trait Writers extends Types with TupleReadWriters with Generated with WritersVersionSpecific with LowPriWriters
  13. trait WritersVersionSpecific extends MacroImplicits
  14. class allowUnknownKeys extends Annotation with StaticAnnotation

    Annotation for fine-grained control of the def allowUnknownKeys configuration on the upickle bundle; can be applied to individual case classes, taking precedence over upickle pickler-level configuration

  15. class flatten extends Annotation with StaticAnnotation

    An annotation that, when applied to a field in a case class, flattens the fields of the annotated case class or Iterable into the parent case class during serialization.

    An annotation that, when applied to a field in a case class, flattens the fields of the annotated case class or Iterable into the parent case class during serialization. This means the fields will appear at the same level as the parent case class's fields rather than nested under the field name. During deserialization, these fields are grouped back into the annotated case class or Iterable.

    **Limitations**: - Only works with collections type that are subtypes of Iterable[(String, _)]. - Cannot flatten more than two collections in a same level.

  16. class key extends Annotation with StaticAnnotation

    Annotation for control over the strings used to serialize your data structure.

    Annotation for control over the strings used to serialize your data structure. Can be applied in three ways:

    1. To individual fields, in which case it overrides the JSON object fieldname

    2. To case classes which are part of sealed traits, where it overrides the value of the "$type": "foo" discriminator field

    2. To sealed traits themselves, where it overrides the key of the "$type": "foo" discriminator field

  17. class serializeDefaults extends Annotation with StaticAnnotation

    Annotation for fine-grained control of the def serializeDefaults configuration on the upickle bundle; can be applied to individual fields or to entire case classes, with finer-grained application taking precedence

Value Members

  1. object MacroImplicits

    Stupid hacks to work around scalac not forwarding macro type params properly

  2. object MacrosCommon

Ungrouped