(Quick Reference)

convertJson

Purpose

Enables conversion of the response to JSON.

Examples

jerseyRequestBuilder.post {
    uri = "http://example.com"
    convertJson = true
}

Description

If true (default), and the response has a header that indicates JSON, convert the response to a List or Map.