package implicits
- Alphabetic
- Public
- Protected
Type Members
- trait BaseCaseObjectContext extends AnyRef
- 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
upicklepackage to form the public API1 - abstract class CaseObjectContext[V] extends ObjVisitor[Any, V] with BaseCaseObjectContext
- trait Generated extends TupleReadWriters
Auto-generated picklers and unpicklers, used for creating the 22 versions of tuple-picklers and case-class picklers
- abstract class HugeCaseObjectContext[V] extends ObjVisitor[Any, V] with BaseCaseObjectContext
- trait LowPriWriters extends Types
This needs to be split into a separate trait due to https://github.com/scala/bug/issues/11768
- trait MacroImplicits extends MacrosCommon
- trait MacrosCommon extends Config with Types
- trait Readers extends Types with TupleReadWriters with Generated with ReadersVersionSpecific
- trait ReadersVersionSpecific extends MacroImplicits
- 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
upicklepackage to form the public API1 - trait Writers extends Types with TupleReadWriters with Generated with WritersVersionSpecific with LowPriWriters
- trait WritersVersionSpecific extends MacroImplicits
- class allowUnknownKeys extends Annotation with StaticAnnotation
Annotation for fine-grained control of the
def allowUnknownKeysconfiguration on the upickle bundle; can be applied to individualcase classes, taking precedence over upickle pickler-level configuration - 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 classorIterableinto 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 classorIterableinto 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 annotatedcase classorIterable.**Limitations**: - Only works with collections type that are subtypes of
Iterable[(String, _)]. - Cannot flatten more than two collections in a same level. - 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 ofsealed traits, where it overrides the value of the"$type": "foo"discriminator field2. To
sealed traits themselves, where it overrides the key of the"$type": "foo"discriminator field - class serializeDefaults extends Annotation with StaticAnnotation
Annotation for fine-grained control of the
def serializeDefaultsconfiguration on the upickle bundle; can be applied to individual fields or to entirecase classes, with finer-grained application taking precedence
Value Members
- object MacroImplicits
Stupid hacks to work around scalac not forwarding macro type params properly
- object MacrosCommon