object FamilyFormats extends DefaultJsonProtocol with FamilyFormats
- Alphabetic
- By Inheritance
- FamilyFormats
- FamilyFormats
- LowPriorityFamilyFormats
- JsonFormatHints
- DefaultJsonProtocol
- AdditionalFormats
- ProductFormats
- ProductFormatsInstances
- CollectionFormats
- StandardFormats
- BasicFormats
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
OptionFormat[T] extends (StandardFormats.this)#JF[Option[T]]
- Definition Classes
- StandardFormats
-
abstract
class
WrappedRootJsonFormat[Wrapped, SubRepr] extends AnyRef
a
JsonFormat[HList]orJsonFormat[Coproduct]would not retain the type information for the full generic that it is serialising.a
JsonFormat[HList]orJsonFormat[Coproduct]would not retain the type information for the full generic that it is serialising. This allows us to pass the wrapped type, achieving: 1) customCoproductHints on a per-trait level 2) configurablenullbehaviour on a per product level 3) clearer error messages.This is intentionally not part of the
JsonFormathierarchy to avoid ambiguous implicit errors.- Definition Classes
- LowPriorityFamilyFormats
-
abstract
class
WrappedRootJsonFormatWithDefault[Wrapped, SubRepr, DefaultRepr] extends (LowPriorityFamilyFormats.this)#WrappedRootJsonFormat[Wrapped, SubRepr]
Subclass of the the
WrappedRootJsonFormatthat provide a way to deserialize product with a default value.Subclass of the the
WrappedRootJsonFormatthat provide a way to deserialize product with a default value.- Definition Classes
- LowPriorityFamilyFormats
-
trait
CoproductHint
[T] extends AnyRef
- Definition Classes
- JsonFormatHints
-
class
FlatCoproductHint
[T] extends CoproductHint[T]
Product types are disambiguated by a
{"key":"value",...}.Product types are disambiguated by a
{"key":"value",...}. Of course, this will fail if the product type has a field with the same name as the key. The default key is the word "type" which is a keyword in Scala so unlikely to collide with too many case classes.This variant is most common in JSON serialisation schemes and well supported by other frameworks.
- Definition Classes
- JsonFormatHints
-
sealed
trait
JsNullBehaviour
extends AnyRef
Sometimes the wire format needs to match an existing format and
JsNullbehaviour needs to be customised.Sometimes the wire format needs to match an existing format and
JsNullbehaviour needs to be customised. This allows null behaviour to be defined at the product level. Field level control is only possible with a user-definedRootJsonFormat.- Definition Classes
- JsonFormatHints
-
class
NestedCoproductHint
[T] extends CoproductHint[T]
Product types are disambiguated by an extra JSON map layer containing a single key which is the name of the type of product contained in the value.
Product types are disambiguated by an extra JSON map layer containing a single key which is the name of the type of product contained in the value. e.g.
{"MyType":{...}}This variant may be more appropriate for non-polymorphic schemas such as MongoDB and Mongoose (consider using the above format on your endpoints, and this format when persisting).
- Definition Classes
- JsonFormatHints
-
trait
ProductHint
[T] extends AnyRef
- Definition Classes
- JsonFormatHints
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
def
arrayFormat[T](implicit arg0: JsonFormat[T], arg1: ClassManifest[T]): RootJsonFormat[Array[T]] { def write(array: Array[T]): spray.json.JsArray }
- Definition Classes
- CollectionFormats
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
implicit
def
cNilFormat[Wrapped](implicit t: Typeable[Wrapped]): WrappedRootJsonFormat[Wrapped, CNil]
- Definition Classes
- LowPriorityFamilyFormats
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
implicit
def
coproductFormat[Wrapped, Name <: Symbol, Instance, Remaining <: Coproduct](implicit tpe: Typeable[Wrapped], th: CoproductHint[Wrapped], key: Aux[Name], jfh: Lazy[RootJsonFormat[Instance]], jft: WrappedRootJsonFormat[Wrapped, Remaining]): WrappedRootJsonFormat[Wrapped, :+:[FieldType[Name, Instance], Remaining]]
- Definition Classes
- LowPriorityFamilyFormats
-
implicit
def
coproductHint[T](implicit arg0: Typeable[T]): CoproductHint[T]
- Definition Classes
- JsonFormatHints
-
implicit
def
eitherFormat[A, B](implicit arg0: JF[A], arg1: JF[B]): JF[Either[A, B]]
- Definition Classes
- StandardFormats
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
extractFieldNames(classManifest: ClassManifest[_]): Array[String]
- Attributes
- protected
- Definition Classes
- ProductFormats
-
implicit
def
familyFormat[T, Repr](implicit gen: Aux[T, Repr], sg: Cached[Strict[WrappedRootJsonFormat[T, Repr]]]): RootJsonFormat[T]
Format for
LabelledGenericsthat uses theCoproductmarshaller above.Format for
LabelledGenericsthat uses theCoproductmarshaller above.Blah.Aux[T, Repr]is a trick to work around scala compiler constraints. We'd really like to have only one type parameter (T) implicit listg: LabelledGeneric[T], f: Cached[Strict[JsonFormat[T.Repr]]]but that's not possible.- Definition Classes
- LowPriorityFamilyFormats
-
implicit
def
familyFormatWithDefault[T, Repr, DefaultRepr <: HList](implicit gen: Aux[T, Repr], default: Aux[T, DefaultRepr], sg: Cached[Strict[WrappedRootJsonFormatWithDefault[T, Repr, DefaultRepr]]]): RootJsonFormat[T]
Format for
LabelledGenericsthat uses theHListmarshaller below.Format for
LabelledGenericsthat uses theHListmarshaller below.Blah.Aux[T, Repr]is a trick to work around scala compiler constraints. We'd really like to have only one type parameter (T) implicit listg: LabelledGeneric[T], f: Cached[Strict[JsonFormat[T.Repr]]]but that's not possible.- Definition Classes
- FamilyFormats
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromField[T](value: JsValue, fieldName: String)(implicit reader: JsonReader[T]): T
- Attributes
- protected
- Definition Classes
- ProductFormats
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
implicit
def
hListFormat[Wrapped, Key <: Symbol, Value, Remaining <: HList, D <: HList](implicit t: Typeable[Wrapped], ph: ProductHint[Wrapped], key: Aux[Key], jfh: Lazy[JsonFormat[Value]], jft: WrappedRootJsonFormatWithDefault[Wrapped, Remaining, D]): WrappedRootJsonFormatWithDefault[Wrapped, ::[FieldType[Key, Value], Remaining], ::[Option[Value], D]]
- Definition Classes
- LowPriorityFamilyFormats
-
implicit
def
hNilFormat[Wrapped](implicit t: Typeable[Wrapped]): WrappedRootJsonFormatWithDefault[Wrapped, HNil, HNil]
- Definition Classes
- LowPriorityFamilyFormats
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
implicit
def
immIndexedSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[IndexedSeq[T]]
- Definition Classes
- CollectionFormats
-
implicit
def
immIterableFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Iterable[T]]
- Definition Classes
- CollectionFormats
-
implicit
def
immLinearSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[LinearSeq[T]]
- Definition Classes
- CollectionFormats
-
implicit
def
immSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Seq[T]]
- Definition Classes
- CollectionFormats
-
implicit
def
immSetFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Set[T]]
- Definition Classes
- CollectionFormats
-
implicit
def
indexedSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[IndexedSeq[T]]
- Definition Classes
- CollectionFormats
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
implicit
def
iterableFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Iterable[T]]
- Definition Classes
- CollectionFormats
-
def
jsonFormat[T](reader: JsonReader[T], writer: JsonWriter[T]): JsonFormat[T]
- Definition Classes
- AdditionalFormats
-
def
jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String, fieldName21: String, fieldName22: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: JF[P22]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String, fieldName21: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, P3, P4, P5, P6, P7, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, P3, P4, P5, P6, T <: Product](construct: (P1, P2, P3, P4, P5, P6) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, P3, P4, P5, T <: Product](construct: (P1, P2, P3, P4, P5) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, P3, P4, T <: Product](construct: (P1, P2, P3, P4) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, P3, T <: Product](construct: (P1, P2, P3) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, P2, T <: Product](construct: (P1, P2) ⇒ T, fieldName1: String, fieldName2: String)(implicit arg0: JF[P1], arg1: JF[P2]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat[P1, T <: Product](construct: (P1) ⇒ T, fieldName1: String)(implicit arg0: JF[P1]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat0[T](construct: () ⇒ T): RootJsonFormat[T]
- Definition Classes
- ProductFormats
-
def
jsonFormat1[P1, T <: Product](construct: (P1) ⇒ T)(implicit arg0: JF[P1], arg1: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat10[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat11[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat12[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat13[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat14[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat15[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat16[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat17[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat18[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat19[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat2[P1, P2, T <: Product](construct: (P1, P2) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat20[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat21[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat22[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: JF[P22], arg22: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat3[P1, P2, P3, T <: Product](construct: (P1, P2, P3) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat4[P1, P2, P3, P4, T <: Product](construct: (P1, P2, P3, P4) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat5[P1, P2, P3, P4, P5, T <: Product](construct: (P1, P2, P3, P4, P5) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat6[P1, P2, P3, P4, P5, P6, T <: Product](construct: (P1, P2, P3, P4, P5, P6) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat7[P1, P2, P3, P4, P5, P6, P7, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat8[P1, P2, P3, P4, P5, P6, P7, P8, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
jsonFormat9[P1, P2, P3, P4, P5, P6, P7, P8, P9, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ T)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: ClassManifest[T]): RootJsonFormat[T]
- Definition Classes
- ProductFormatsInstances
-
def
lazyFormat[T](format: ⇒ JsonFormat[T]): JsonFormat[T] { lazy val delegate: spray.json.JsonFormat[T] }
- Definition Classes
- AdditionalFormats
-
def
lift[T <: AnyRef](reader: RootJsonReader[T]): RootJsonFormat[T]
- Definition Classes
- AdditionalFormats
-
def
lift[T <: AnyRef](reader: JsonReader[T]): JsonFormat[T]
- Definition Classes
- AdditionalFormats
-
def
lift[T](writer: RootJsonWriter[T]): RootJsonFormat[T]
- Definition Classes
- AdditionalFormats
-
def
lift[T](writer: JsonWriter[T]): JsonFormat[T] { def read(value: spray.json.JsValue): Nothing }
- Definition Classes
- AdditionalFormats
-
implicit
def
linearSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[LinearSeq[T]]
- Definition Classes
- CollectionFormats
-
implicit
def
listFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[List[T]] { def write(list: List[T]): spray.json.JsArray }
- Definition Classes
- CollectionFormats
-
implicit
def
mapFormat[K, V](implicit arg0: JsonFormat[K], arg1: JsonFormat[V]): RootJsonFormat[Map[K, V]] { def write(m: Map[K,V]): spray.json.JsObject }
- Definition Classes
- CollectionFormats
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
implicit
def
optionFormat[T](implicit arg0: JsonFormat[T]): JsonFormat[Option[T]]
- Definition Classes
- FamilyFormats
-
def
productElement2Field[T](fieldName: String, p: Product, ix: Int, rest: List[JsField])(implicit writer: JsonWriter[T]): List[JsField]
- Attributes
- protected
- Definition Classes
- ProductFormats
-
implicit
def
productHint[T](implicit arg0: Typeable[T]): ProductHint[T]
- Definition Classes
- JsonFormatHints
-
def
rootFormat[T](format: JsonFormat[T]): RootJsonFormat[T]
- Definition Classes
- AdditionalFormats
-
def
rootJsonFormat[T](reader: RootJsonReader[T], writer: RootJsonWriter[T]): RootJsonFormat[T]
- Definition Classes
- AdditionalFormats
-
def
safeReader[A](implicit arg0: JsonReader[A]): JsonReader[Either[Exception, A]]
- Definition Classes
- AdditionalFormats
-
implicit
def
seqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Seq[T]]
- Definition Classes
- CollectionFormats
-
implicit
def
setFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Set[T]]
- Definition Classes
- CollectionFormats
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
implicit
def
tuple1Format[A](implicit arg0: JF[A]): JF[(A)]
- Definition Classes
- StandardFormats
-
implicit
def
tuple2Format[A, B](implicit arg0: JF[A], arg1: JF[B]): RootJsonFormat[(A, B)] { def write(t: (A, B)): spray.json.JsArray }
- Definition Classes
- StandardFormats
-
implicit
def
tuple3Format[A, B, C](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C]): RootJsonFormat[(A, B, C)] { def write(t: (A, B, C)): spray.json.JsArray }
- Definition Classes
- StandardFormats
-
implicit
def
tuple4Format[A, B, C, D](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D]): RootJsonFormat[(A, B, C, D)] { def write(t: (A, B, C, D)): spray.json.JsArray }
- Definition Classes
- StandardFormats
-
implicit
def
tuple5Format[A, B, C, D, E](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E]): RootJsonFormat[(A, B, C, D, E)] { def write(t: (A, B, C, D, E)): spray.json.JsArray }
- Definition Classes
- StandardFormats
-
implicit
def
tuple6Format[A, B, C, D, E, F](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F]): RootJsonFormat[(A, B, C, D, E, F)] { def write(t: (A, B, C, D, E, F)): spray.json.JsArray }
- Definition Classes
- StandardFormats
-
implicit
def
tuple7Format[A, B, C, D, E, F, G](implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F], arg6: JF[G]): RootJsonFormat[(A, B, C, D, E, F, G)] { def write(t: (A, B, C, D, E, F, G)): spray.json.JsArray }
- Definition Classes
- StandardFormats
-
implicit
def
vectorFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Vector[T]]
- Definition Classes
- CollectionFormats
-
def
viaSeq[I <: Iterable[T], T](f: (Seq[T]) ⇒ I)(implicit arg0: JsonFormat[T]): RootJsonFormat[I]
- Definition Classes
- CollectionFormats
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
object
AlwaysJsNull
extends JsNullBehaviour with Product with Serializable
All values serialising to
JsNullwill be included in the wire format.All values serialising to
JsNullwill be included in the wire format. Ambiguous.- Definition Classes
- JsonFormatHints
-
object
AlwaysJsNullTolerateAbsent
extends JsNullBehaviour with Product with Serializable
Same as AlwaysJsNull when serialising, with missing values treated as optional upon deserialisation.
Same as AlwaysJsNull when serialising, with missing values treated as optional upon deserialisation. Ambiguous.
- Definition Classes
- JsonFormatHints
-
object
JsNullNotNone
extends JsNullBehaviour with Product with Serializable
Option values of
Noneare omitted, butSomevalues ofJsNullare retained.Option values of
Noneare omitted, butSomevalues ofJsNullare retained. Default.- Definition Classes
- JsonFormatHints
-
object
NeverJsNull
extends JsNullBehaviour with Product with Serializable
No values serialising to
JsNullwill be included in the wire format.No values serialising to
JsNullwill be included in the wire format. Ambiguous.- Definition Classes
- JsonFormatHints
-
object
UseDefaultJsNull
extends JsNullBehaviour with Product with Serializable
Use the case class default value provided for the field when available.
Use the case class default value provided for the field when available. Ambiguous.
- Definition Classes
- JsonFormatHints