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<org.apache.pekko.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,
org.apache.pekko.stream.scaladsl.Source<T, org.apache.pekko.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<org.apache.pekko.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
<T> Unmarshaller<org.apache.pekko.util.ByteString,spray.json.JsValue> sprayJsValueByteStringUnmarshaller() -
sprayJsonByteStringUnmarshaller
<T> Unmarshaller<org.apache.pekko.util.ByteString,T> sprayJsonByteStringUnmarshaller(spray.json.RootJsonReader<T> reader) -
sprayJsonSourceReader
<T> Unmarshaller<HttpEntity,org.apache.pekko.stream.scaladsl.Source<T, sprayJsonSourceReaderorg.apache.pekko.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
-