public class JiraCloudJSONObjectMapper extends Object implements org.everit.http.restclient.JSONObjectMapper
| Modifier and Type | Field and Description |
|---|---|
static org.everit.http.restclient.JSONObjectMapper |
INSTANCE
An instance of
JSONObjectMapper that works for Jira Cloud REST requests. |
static DateTimeFormatter |
JIRA_CLOUD_DATETIME_FORMATTER
The date time formatter that can be used to convert date-time values to JSON representation of
Jira Cloud and vice versa.
|
| Constructor and Description |
|---|
JiraCloudJSONObjectMapper() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
convertValue(Object fromValue,
Class<T> toValueType) |
<T> T |
convertValue(Object fromValue,
org.everit.http.restclient.TypeReference<T> toValueTypeRef) |
<T> T |
fromJSON(String json,
Class<T> valueType) |
<T> T |
fromJSON(String json,
org.everit.http.restclient.TypeReference<T> valueTypeReference) |
String |
toJSON(Object object) |
public static final org.everit.http.restclient.JSONObjectMapper INSTANCE
JSONObjectMapper that works for Jira Cloud REST requests.public static final DateTimeFormatter JIRA_CLOUD_DATETIME_FORMATTER
public <T> T convertValue(Object fromValue, Class<T> toValueType)
convertValue in interface org.everit.http.restclient.JSONObjectMapperpublic <T> T convertValue(Object fromValue, org.everit.http.restclient.TypeReference<T> toValueTypeRef)
convertValue in interface org.everit.http.restclient.JSONObjectMapperpublic <T> T fromJSON(String json, Class<T> valueType)
fromJSON in interface org.everit.http.restclient.JSONObjectMapperpublic <T> T fromJSON(String json, org.everit.http.restclient.TypeReference<T> valueTypeReference)
fromJSON in interface org.everit.http.restclient.JSONObjectMapperCopyright © 2011–2021 Everit Kft.. All rights reserved.