Interface SprayJsonSupport

All Known Implementing Classes:
SprayJsonSupport$

public interface SprayJsonSupport
A trait providing automatic to and from JSON marshalling/unmarshalling using an in-scope *spray-json* protocol.
  • Method Details

    • sprayJsonUnmarshallerConverter

      <T> Unmarshaller<HttpEntity,T> sprayJsonUnmarshallerConverter(spray.json.RootJsonReader<T> reader)
    • sprayJsonUnmarshaller

      <T> Unmarshaller<HttpEntity,T> sprayJsonUnmarshaller(spray.json.RootJsonReader<T> reader)
    • sprayJsValueUnmarshaller

      Unmarshaller<HttpEntity,spray.json.JsValue> sprayJsValueUnmarshaller()
    • sprayJsValueByteStringUnmarshaller

      <T> Unmarshaller<akka.util.ByteString,spray.json.JsValue> sprayJsValueByteStringUnmarshaller()
    • sprayJsonByteStringUnmarshaller

      <T> Unmarshaller<akka.util.ByteString,T> sprayJsonByteStringUnmarshaller(spray.json.RootJsonReader<T> reader)
    • sprayJsonSourceReader

      <T> Unmarshaller<HttpEntity,akka.stream.scaladsl.Source<T,akka.NotUsed>> sprayJsonSourceReader(spray.json.RootJsonReader<T> reader, EntityStreamingSupport support)
    • sprayJsonMarshallerConverter

      <T> Marshaller<T,RequestEntity> sprayJsonMarshallerConverter(spray.json.RootJsonWriter<T> writer, spray.json.JsonPrinter printer)
    • sprayJsonMarshaller

      <T> Marshaller<T,RequestEntity> sprayJsonMarshaller(spray.json.RootJsonWriter<T> writer, spray.json.JsonPrinter printer)
    • sprayJsValueMarshaller

      Marshaller<spray.json.JsValue,RequestEntity> sprayJsValueMarshaller(spray.json.JsonPrinter printer)