MacroImplicits
Attributes
- Graph
-
- Supertypes
-
trait Writerstrait LowPriWriterstrait WritersVersionSpecifictrait Readerstrait ReadersVersionSpecifictrait CaseClassReadWriterstrait Annotatortrait MacrosCommontrait Configtrait Generatedtrait TupleReadWriterstrait Typesclass Objecttrait Matchableclass AnyShow all
- Self type
-
Types
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Inherited classlikes
Attributes
- Inherited from:
- CaseClassReadWriters
- Supertypes
-
trait ObjectWriter[V]trait Writer[V]trait Transformer[V]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class SingletonWriter[T]
Attributes
- Inherited from:
- Readers
- Supertypes
-
trait SimpleReader[T]trait SimpleVisitor[Any, T]trait Reader[T]trait Visitor[Any, T]class Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- Types
- Supertypes
- Known subtypes
-
trait CaseClassWriter[V]class SingletonWriter[T]
Attributes
- Inherited from:
- Types
- Supertypes
-
class Objecttrait Matchableclass Any
Represents the ability to read a value of type T.
Represents the ability to read a value of type T.
A thin wrapper around Visitor, but needs to be it's own class in order to make type inference automatically pick up it's implicit values.
Attributes
- Inherited from:
- Types
- Supertypes
-
trait Visitor[Any, T]class Objecttrait Matchableclass Any
- Known subtypes
-
trait ReadWriter[T]trait TaggedReadWriter[T]trait SimpleReader[T]class CaseClassReader[V]class SingletonReader[T]class CaseClassReader3[T]class CaseClassReader3V2[T]trait TaggedReader[T]class TupleNReader[V]trait NumericReader[T]trait SimpleStringReader[T]trait OptionReader[T]Show all
Attributes
- Inherited from:
- ReadersVersionSpecific
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Readers
- Supertypes
-
trait SimpleVisitor[Any, C[T]]trait Visitor[Any, C[T]]class Objecttrait Matchableclass AnyShow all
A Reader that throws an error for all the visit methods which it does not define, letting you only define the handlers you care about.
A Reader that throws an error for all the visit methods which it does not define, letting you only define the handlers you care about.
Attributes
- Inherited from:
- Types
- Supertypes
-
trait SimpleVisitor[Any, T]trait Reader[T]trait Visitor[Any, T]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class CaseClassReader[V]class SingletonReader[T]class CaseClassReader3[T]class CaseClassReader3V2[T]trait TaggedReadWriter[T]trait TaggedReader[T]class TupleNReader[V]trait NumericReader[T]trait SimpleStringReader[T]Show all
Attributes
- Inherited from:
- Readers
- Supertypes
-
trait SimpleReader[T]trait SimpleVisitor[Any, T]trait Reader[T]trait Visitor[Any, T]class Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- CaseClassReadWriters
- Supertypes
-
class CaseClassReader[T]trait SimpleReader[T]trait SimpleVisitor[Any, T]trait Reader[T]trait Visitor[Any, T]class Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- CaseClassReadWriters
- Supertypes
-
trait CaseClassWriter[T]trait ObjectWriter[T]trait Writer[T]trait Transformer[T]class Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- Types
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Types
- Supertypes
-
trait TaggedWriter[T]trait TaggedReader[T]trait SimpleReader[T]trait SimpleVisitor[Any, T]trait ReadWriter[T]trait Writer[T]trait Transformer[T]trait Reader[T]trait Visitor[Any, T]class Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- Types
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Types
- Supertypes
-
trait SimpleReader[T]trait SimpleVisitor[Any, T]trait Reader[T]trait Visitor[Any, T]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait TaggedReadWriter[T]
Attributes
- Inherited from:
- Types
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Types
- Supertypes
- Known subtypes
-
trait TaggedReadWriter[T]
Attributes
- Inherited from:
- TupleReadWriters
- Supertypes
-
trait SimpleReader[V]trait SimpleVisitor[Any, V]trait Reader[V]trait Visitor[Any, V]class Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- TupleReadWriters
- Supertypes
Represents the ability to write a value of type T.
Represents the ability to write a value of type T.
Generally nothing more than a way of applying the T to a Visitor, along with some utility methods
Attributes
- Inherited from:
- Types
- Supertypes
-
trait Transformer[T]class Objecttrait Matchableclass Any
- Known subtypes
-
trait ObjectWriter[T]trait CaseClassWriter[V]class SingletonWriter[T]trait ReadWriter[T]trait TaggedReadWriter[T]trait TaggedWriter[T]class TupleNWriter[V]trait OptionWriter[T]trait SimpleMapKeyWriter[T]Show all
Attributes
- Inherited from:
- WritersVersionSpecific
- Supertypes
-
class Objecttrait Matchableclass Any
Inherited and Abstract classlikes
Attributes
- Inherited from:
- CaseClassReadWriters
- Supertypes
-
trait SimpleReader[V]trait SimpleVisitor[Any, V]trait Reader[V]trait Visitor[Any, V]class Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Inherited from:
- ReadersVersionSpecific
- Supertypes
-
class CaseClassReader[T]trait SimpleReader[T]trait SimpleVisitor[Any, T]trait Reader[T]trait Visitor[Any, T]class Objecttrait Matchableclass AnyShow all
Deprecated and Inherited classlikes
Attributes
- Deprecated
- true
- Inherited from:
- ReadersVersionSpecific
- Supertypes
-
class CaseClassReader[T]trait SimpleReader[T]trait SimpleVisitor[Any, T]trait Reader[T]trait Visitor[Any, T]class Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Inherited methods
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Configure whether you want upickle to skip unknown keys during de-serialization of case classes. Can be overriden for the entire serializer via override def, and further overriden for individual case classes via the annotation @upickle.implicits.allowUnknownKeys(b: Boolean)
Configure whether you want upickle to skip unknown keys during de-serialization of case classes. Can be overriden for the entire serializer via override def, and further overriden for individual case classes via the annotation @upickle.implicits.allowUnknownKeys(b: Boolean)
Attributes
- Inherited from:
- Config
Attributes
- Inherited from:
- Annotator
Attributes
- Inherited from:
- ReadersVersionSpecific
Attributes
- Inherited from:
- ReadersVersionSpecific
Attributes
- Inherited from:
- WritersVersionSpecific
Attributes
- Inherited from:
- WritersVersionSpecific
Transform dictionary keys when writing case classes when reading. Can be overriden to provide custom mappings between Scala field names and JSON field names. Needs to be kept in sync with objectAttributeKeyWriteMap
Transform dictionary keys when writing case classes when reading. Can be overriden to provide custom mappings between Scala field names and JSON field names. Needs to be kept in sync with objectAttributeKeyWriteMap
This customizes the mapping across all case classes fields handled by this upickle instance. This can be customized on a field-by-field basis using the upickle.implicits.key annotation on the case class field
Attributes
- Inherited from:
- Config
Map the name of JSON object fields to Scala case class fields during serialization. Must be kept in sync with objectAttributeKeyReadMap
Map the name of JSON object fields to Scala case class fields during serialization. Must be kept in sync with objectAttributeKeyReadMap
Attributes
- Inherited from:
- Config
Transforms the value of the $type field when writing sealed traits, to allow custom mapping between the case class name and the $type field in the generated JSON. Must be kept in sync with objectTypeKeyWriteMap.
Transforms the value of the $type field when writing sealed traits, to allow custom mapping between the case class name and the $type field in the generated JSON. Must be kept in sync with objectTypeKeyWriteMap.
- This customizes the mapping across all
case classes fields handled by this - upickle instance. This can be customized on a per-
sealed traitbasis using the - upickle.implicits.key annotation on the
case class
Attributes
- Inherited from:
- Config
Whether to use the fully-qualified name of case classes and case objects which are part of sealed trait hierarchies when serializing them and writing their $type key. Defaults to false, so $type key uses the shortest partially-qualified name. Can be set to true to use their fully-qualified name.
Whether to use the fully-qualified name of case classes and case objects which are part of sealed trait hierarchies when serializing them and writing their $type key. Defaults to false, so $type key uses the shortest partially-qualified name. Can be set to true to use their fully-qualified name.
Attributes
- Inherited from:
- Config
Map the name of Scala case class type names to JSON $type field value during serialization. Must be kept in sync with objectTypeKeyReadMap
Map the name of Scala case class type names to JSON $type field value during serialization. Must be kept in sync with objectTypeKeyReadMap
Attributes
- Inherited from:
- Config
Whether top-level Some(t)s and Nones are serialized unboxed as t or null, rather than [t] or []. This is generally what people expect, although it does cause issues where Some(null) when serialized and de-serialized can become None. Can be disabled to use the boxed serialization format as 0-or-1-element-arrays, presering round trip-ability at the expense of un-intuitiveness and verbosity
Whether top-level Some(t)s and Nones are serialized unboxed as t or null, rather than [t] or []. This is generally what people expect, although it does cause issues where Some(null) when serialized and de-serialized can become None. Can be disabled to use the boxed serialization format as 0-or-1-element-arrays, presering round trip-ability at the expense of un-intuitiveness and verbosity
Attributes
- Inherited from:
- Config
Whether or not to write case class keys which match their default values. Defaults to false, allowing those keys to be omitted. Can be set to true to always write field values even if they are equal to the default
Whether or not to write case class keys which match their default values. Defaults to false, allowing those keys to be omitted. Can be set to true to always write field values even if they are equal to the default
Attributes
- Inherited from:
- Config
Specifies the name of the field used to distinguish different case classes under a sealed trait. Defaults to $type, but can be configured globally by overriding tagName, or on a per-sealed trait basis via the @key annotation
Specifies the name of the field used to distinguish different case classes under a sealed trait. Defaults to $type, but can be configured globally by overriding tagName, or on a per-sealed trait basis via the @key annotation
Attributes
- Inherited from:
- Config
Attributes
- Inherited from:
- Types
Attributes
- Inherited from:
- Types
Inherited and Abstract methods
Attributes
- Inherited from:
- Annotator
Attributes
- Inherited from:
- Annotator
Attributes
- Inherited from:
- Types
Attributes
- Inherited from:
- Types
Inherited fields
Attributes
- Inherited from:
- MacrosCommon
Givens
Inherited givens
Attributes
- Inherited from:
- ReadersVersionSpecific
Attributes
- Inherited from:
- WritersVersionSpecific
Implicits
Implicits
Inherited implicits
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- ReadersVersionSpecific
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- LowPriWriters
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Generated
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- Readers
Attributes
- Inherited from:
- Writers
Attributes
- Inherited from:
- WritersVersionSpecific