public static String getJsonBody(final Object jsonObject) {
        try {
            return JSON_MAPPER.writeValueAsString(jsonObject);
        } catch (JsonProcessingException jpe) {
            throw new IllegalArgumentException(LOGPRAEFIX + "ERR: Could not parse as Json: " + jsonObject, jpe);
        }
    }
Sets body to Json parsed from given object
main/src/main/java/cgeo/geocaching/network/HttpRequest.java