I noticed that Elasticsearch alpakka uses spray-json to serialize objects.
ElasticsearchFlow.create, for example, needs implicit
def create[T](indexName: String, typeName: String, settings: ElasticsearchWriteSettings = ElasticsearchWriteSettings.Default)( implicit elasticsearchClient: RestClient, sprayJsonWriter: JsonWriter[T]
In our project we use Json4s and have lots of custom serializers for our custom types. I’m considering using Elasticsearch alpakka. So, my question is: is there a way I can use Json4s as a (de)serialization tool in Elasticsearch alpakka?