public class Serialization extends Object
| Modifier and Type | Field and Description |
|---|---|
static java.time.format.DateTimeFormatter |
FULL_FORMATTER |
static com.fasterxml.jackson.databind.ObjectMapper |
mapper |
| Constructor and Description |
|---|
Serialization() |
| Modifier and Type | Method and Description |
|---|---|
static org.gcube.application.geoportal.common.model.rest.QueryRequest |
parseQuery(String queryString) |
static <T> T |
read(String jsonString,
Class<T> clazz) |
static <T> Iterator<T> |
readCollection(String jsonString,
Class<T> clazz) |
static String |
write(Object toWrite) |
public static final java.time.format.DateTimeFormatter FULL_FORMATTER
public static com.fasterxml.jackson.databind.ObjectMapper mapper
public static <T> T read(String jsonString, Class<T> clazz) throws com.fasterxml.jackson.core.JsonProcessingException, IOException
com.fasterxml.jackson.core.JsonProcessingExceptionIOExceptionpublic static <T> Iterator<T> readCollection(String jsonString, Class<T> clazz) throws IOException
IOExceptionpublic static String write(Object toWrite) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionpublic static org.gcube.application.geoportal.common.model.rest.QueryRequest parseQuery(String queryString) throws IOException
IOExceptionCopyright © 2022. All Rights Reserved.