deepstream.io-client-java icon indicating copy to clipboard operation
deepstream.io-client-java copied to clipboard

Include custom Gson serialization

Open Stumblinbear opened this issue 6 years ago • 0 comments

Deepstream doesn't allow passing in a Gson object for serialization, or registering type adapters. Currently as a workaround, I serialize the object and then deserialize it back into JsonElement, then pass that into rpc.make() which then turns it back into a JSON string. It's incredibly inefficient, and if this feature could be added that would be fantastic.

Stumblinbear avatar Feb 09 '19 18:02 Stumblinbear