parse As
Parse and serialize the transformed response body as the type
Since
extensions-lib 14
Parameters
transform
transformer function that does required changes to the response body.
Parse and serialize the response body as the type
This function uses okio utilities instead of converting the response body to a String, so you may have a small performance gain over Response.parseAs(transform)
, mainly in large responses.
Since
extensions-lib 14
Parses and serializes the transformed String as the type
Since
extensions-lib 14
Parameters
transform
transformer function that does required changes to the String.
Parses and serializes the Json String as the type
Since
extensions-lib 14