package json
Provides utility classes and methods related to JSON handling.
- Alphabetic
- By Inheritance
- json
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait ExtraHttpJsonProtocol extends AnyRef
- trait ExtraMiscJsonProtocol extends AnyRef
- trait ExtraTimeJsonProtocol extends AnyRef
-
case class
JsonFormatBuilder
[C <: HList, FC <: HList](fields: FC)(implicit aux: FormatterAux[C, FC]) extends Product with Serializable
A type-safe way to construct a
JSONFormatby incrementally adding, removing or updating fields.A type-safe way to construct a
JSONFormatby incrementally adding, removing or updating fields.- C
the type of the
HListof fields currently in this builder- FC
the type of the
HListof field definitions currently in this builder- fields
the fields currently in this builder
-
abstract
class
JsonHMapKey
[V] extends HMapKey[V]
A key of a
JsonHMap.A key of a
JsonHMap.- V
the type of the value associated with this key
- Annotations
- @deprecated
- Deprecated
(Since version 2017/07/13) This will be removed in a future version
-
trait
JsonKeyRegistry
extends AnyRef
A class containing a mapping from JSON keys to keys of a
JsonHMap.A class containing a mapping from JSON keys to keys of a
JsonHMap. AJsonKeyRegistrymust be present both when a key is created and when a conversion is to be done between a map and JSON.- Annotations
- @deprecated
- Deprecated
(Since version 2017/07/13) This will be removed in a future version
Value Members
-
object
ExtraJsonProtocol
extends ExtraTimeJsonProtocol with ExtraHttpJsonProtocol with ExtraMiscJsonProtocol
Provides additional JsonFormats not available in the spray.json.DefaultJsonProtocol.
-
object
Implicits
Object containing implicit classes and methods related to JSON handling.
-
object
JsonConvert
Object containing helpers for converting between JSON values and other structures.
-
object
JsonFormatBuilder
extends Serializable
A companion object containing auxiliary types and factories for
JsonFormatBuilder. -
object
JsonHMapKey
Companion object for
JsonHMapKey.