Skip to content

Requestor 1.3.0

Compare
Choose a tag to compare
@reinert reinert released this 03 Apr 02:30
· 13 commits to master since this release

[core] Map deserialization in request calls

Now we are able to request to deserialize the response to a map like below.

session.get("endpoint", Map.class, String.class, String.class)

[gson] GsonSerializer

The auto-generated serializers based on Gson were replaced by a universal GsonSerializer that is capable to serialize and deserialize any json object to any java type.

[ktln] CoroutineAsyncRunner

Requestor now provides an extension to better integrate the library with Kotlin. The first implemented feature is the CoroutineAsyncRunner, an async runner that allows requestor sessions to run asynchronous jobs using the provided coroutine context.