Gson is used by Jest (our client for talking to Elasticsearch) internally.
So we could change our own JSON serialization routines to work with Jackson
or even plain StringBuilder if we liked (we took care to make the usage of
Gson an implementation detail), but the dependency to Gson would still be
needed.
We could reconsider the usage of Jest altogether, but I'd hope that's a
discussion we can have at a later point, so to focus on getting the first
Tech Preview out to users?
--Gunnar
2016-04-28 22:59 GMT+02:00 Sanne Grinovero <sanne(a)hibernate.org>:
I'm wondering why the Elasticsearch client for Hibernate Search
is
using Gson, and not Jackson as JSON codec?
Especially as we already have Jackson as a dependency for both Search
(via Avro), OGM (via Couchbase), and it's also used within WildFly and
Camel, we might need to change this.
Sorry if I forgot the reasons, I vaguely remember this came up but I
couldn't find it on the list.
Thanks,
Sanne
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev