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 Summary
Modifier and TypeMethodDescription<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> Marshaller<spray.json.JsValue,
RequestEntity> sprayJsValueMarshaller
(spray.json.JsonPrinter printer) Unmarshaller<HttpEntity,
spray.json.JsValue>
-
Method Details
-
sprayJsonUnmarshallerConverter
-
sprayJsonUnmarshaller
-
sprayJsValueUnmarshaller
Unmarshaller<HttpEntity,spray.json.JsValue> sprayJsValueUnmarshaller() -
sprayJsValueByteStringUnmarshaller
-
sprayJsonByteStringUnmarshaller
<T> Unmarshaller<akka.util.ByteString,T> sprayJsonByteStringUnmarshaller(spray.json.RootJsonReader<T> reader) -
sprayJsonSourceReader
<T> Unmarshaller<HttpEntity,akka.stream.scaladsl.Source<T, sprayJsonSourceReaderakka.NotUsed>> (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
-