You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mynecker Currently we don't have any plans on implementing this. As a workaround, you can call Gson by yourself and then set the output JSON string to the response.
It would be helpful to be able to register custom Gson-Type adapters [1] for serialization and deserialization of Json payloads.
Gson gson = new GsonBuilder().registerTypeAdapter(MyClass.class, new MyAdapter()).create();
[1] https://google.github.io/gson/apidocs/com/google/gson/TypeAdapter.html
The text was updated successfully, but these errors were encountered: