Interface SprayJsonSupport
-
- All Known Implementing Classes:
SprayJsonSupport$
public interface SprayJsonSupportA trait providing automatic to and from JSON marshalling/unmarshalling using an in-scope *spray-json* protocol.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Unmarshaller<akka.util.ByteString,T>sprayJsonByteStringUnmarshaller(spray.json.RootJsonReader<T> reader)<T> Marshaller<T,RequestEntity>sprayJsonMarshaller(spray.json.RootJsonWriter<T> writer, spray.json.JsonPrinter printer)<T> Marshaller<T,RequestEntity>sprayJsonMarshallerConverter(spray.json.RootJsonWriter<T> writer, spray.json.JsonPrinter printer)<T> Unmarshaller<HttpEntity,akka.stream.scaladsl.Source<T,akka.NotUsed>>sprayJsonSourceReader(spray.json.RootJsonReader<T> reader, EntityStreamingSupport support)<T> Unmarshaller<HttpEntity,T>sprayJsonUnmarshaller(spray.json.RootJsonReader<T> reader)<T> Unmarshaller<HttpEntity,T>sprayJsonUnmarshallerConverter(spray.json.RootJsonReader<T> reader)<T> Unmarshaller<akka.util.ByteString,spray.json.JsValue>sprayJsValueByteStringUnmarshaller()Marshaller<spray.json.JsValue,RequestEntity>sprayJsValueMarshaller(spray.json.JsonPrinter printer)Unmarshaller<HttpEntity,spray.json.JsValue>sprayJsValueUnmarshaller()
-
-
-
Method Detail
-
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)
-
-