upickle.implicits
Members list
Packages
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
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
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
Attributes
- Supertypes
-
trait Typesclass Objecttrait Matchableclass Any
- Known subtypes
-
trait ReadersVersionSpecifictrait Readerstrait MacroImplicitstrait WritersVersionSpecifictrait Writers
- Self type
-
Config
Attributes
- Supertypes
-
trait BaseCaseObjectContexttrait ObjVisitor[Any, V]trait ObjArrVisitor[Any, V]class Objecttrait Matchableclass AnyShow all
Auto-generated picklers and unpicklers, used for creating the 22 versions of tuple-picklers and case-class picklers
Auto-generated picklers and unpicklers, used for creating the 22 versions of tuple-picklers and case-class picklers
Attributes
- Supertypes
- Known subtypes
- Self type
-
Config
Attributes
- Supertypes
-
trait BaseCaseObjectContexttrait ObjVisitor[Any, V]trait ObjArrVisitor[Any, V]class Objecttrait Matchableclass AnyShow all
This needs to be split into a separate trait due to https://github.com/scala/bug/issues/11768
This needs to be split into a separate trait due to https://github.com/scala/bug/issues/11768
Attributes
- Supertypes
-
trait Typesclass Objecttrait Matchableclass Any
- Known subtypes
-
trait Writerstrait MacroImplicits
- Self type
-
Config
Attributes
- Supertypes
-
trait Writerstrait LowPriWriterstrait WritersVersionSpecifictrait Readerstrait ReadersVersionSpecifictrait CaseClassReadWriterstrait Annotatortrait MacrosCommontrait Configtrait Generatedtrait TupleReadWriterstrait Typesclass Objecttrait Matchableclass AnyShow all
- Self type
-
Types
Attributes
- Companion
- object
- Supertypes
-
trait Typestrait Configclass Objecttrait Matchableclass Any
- Known subtypes
-
trait ReadersVersionSpecifictrait Readerstrait MacroImplicitstrait WritersVersionSpecifictrait Writers
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MacrosCommon.type
Attributes
- Supertypes
-
trait ReadersVersionSpecifictrait CaseClassReadWriterstrait Annotatortrait MacrosCommontrait Configtrait Generatedtrait TupleReadWriterstrait Typesclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait MacroImplicits
- Self type
-
Annotator
Attributes
- Supertypes
-
trait CaseClassReadWriterstrait Annotatortrait MacrosCommontrait Typestrait Configclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait Readerstrait MacroImplicits
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
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
Attributes
- Supertypes
-
trait Typesclass Objecttrait Matchableclass Any
- Known subtypes
- Self type
-
Config
Attributes
- Supertypes
-
trait LowPriWriterstrait WritersVersionSpecifictrait CaseClassReadWriterstrait Annotatortrait MacrosCommontrait Configtrait Generatedtrait TupleReadWriterstrait Typesclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait MacroImplicits
- Self type
-
Annotator
Attributes
- Supertypes
-
trait CaseClassReadWriterstrait Annotatortrait MacrosCommontrait Typestrait Configclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait Writerstrait MacroImplicits
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
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
Attributes
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
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.
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.
Attributes
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Annotation for control over the strings used to serialize your data structure. Can be applied in three ways:
Annotation for control over the strings used to serialize your data structure. Can be applied in three ways:
-
To individual fields, in which case it overrides the JSON object fieldname
-
To
case classes which are part ofsealed traits, where it overrides the value of the"$type": "foo"discriminator field -
To
sealed traits themselves, where it overrides the key of the"$type": "foo"discriminator field
Attributes
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
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
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
Attributes
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any