Supplies the serialization and deserialization formats for JSON4s.
A trait providing automatic to and from JSON marshalling/unmarshalling for case classes via lift-json.
A trait providing automatic to and from JSON marshalling/unmarshalling for case classes via lift-json. Note that *spray-routing* does not have an automatic dependency on *lift-json*. You'll need to provide the appropriate *lift-json* artifacts yourself.
A trait providing automatic to and from JSON marshalling/unmarshalling using in-scope *play-json* Reads/Writes.
A trait providing automatic to and from JSON marshalling/unmarshalling using in-scope *play-json* Reads/Writes. Note that *spray-httpx* does not have an automatic dependency on *play-json*. You'll need to provide the appropriate *play-json* artifacts yourself.
A trait providing Marshallers for the Play Twirl template result types.
A trait providing Marshallers for the Play Twirl template result types.
Import this support for use with the new Play Twirl plugin ("com.typesafe.sbt" % "sbt-twirl" % "1.0.0").
For the old spray Twirl plugin use instead.
TwirlSupport
A trait providing automatic to and from JSON marshalling/unmarshalling using an in-scope *spray-json* protocol.
A trait providing automatic to and from JSON marshalling/unmarshalling using an in-scope *spray-json* protocol. Note that *spray-httpx* does not have an automatic dependency on *spray-json*. You'll need to provide the appropriate *spray-json* artifacts yourself.
A trait providing Marshallers for the Twirl template result types.
A trait providing Marshallers for the Twirl template result types.
Import this support for use with the old spray Twirl plugin ("io.spray" % "sbt-twirl" % "0.7.0").
For the new Play Twirl plugin use instead.
PlayTwirlSupport
Supplies the serialization and deserialization formats for JSON4s.
proper usage formats = DefaultFormats(NoTypeHints) if you want extra support add json4s-ext to dependencies and add
all examples taken from json4s.org site: Scala enums implicit val formats = org.json4s.DefaultFormats + new org.json4s.ext.EnumSerializer(MyEnum) or for enum names implicit val formats = org.json4s.DefaultFormats + new org.json4s.ext.EnumNameSerializer(MyEnum) Joda Time implicit val formats = org.json4s.DefaultFormats ++ org.json4s.ext.JodaTimeSerializers.all