List of usage examples for com.fasterxml.jackson.databind JsonDeserializer subclass-usage
From source file eu.mondo.driver.mongo.util.StatementDeserializer.java
/** * * @author Dniel Stein * */ public class StatementDeserializer extends JsonDeserializer<Statement> {
From source file org.springframework.social.linkedin.api.impl.json.LikesListDeserializer.java
class LikesListDeserializer extends JsonDeserializer<List<LinkedInProfile>> { @Override public List<LinkedInProfile> deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { ObjectMapper mapper = new ObjectMapper();
From source file org.springframework.social.facebook.api.impl.json.QuestionOptionListDeserializer.java
class QuestionOptionListDeserializer extends JsonDeserializer<List<QuestionOption>> { @SuppressWarnings("unchecked") @Override public List<QuestionOption> deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { ObjectMapper mapper = new ObjectMapper();
From source file org.openlmis.fulfillment.util.CustomSortDeserializer.java
public class CustomSortDeserializer extends JsonDeserializer<Sort> { @Override public Sort deserialize(JsonParser parser, DeserializationContext context) throws IOException { ArrayNode node = parser.getCodec().readTree(parser); Sort.Order[] orders = new Sort.Order[node.size()];
From source file com.pkrete.locationservice.admin.deserializers.MapJSONDeserializer.java
/** * Custom deserializer for Map objects. * * @author Petteri Kivimki */ public class MapJSONDeserializer extends JsonDeserializer<Map> {
From source file org.agorava.twitter.jackson.TweetDeserializer.java
/**
* Custom Jackson deserializer for tweets. Tweets can't be simply mapped like other Twitter model objects because the JSON
* structure varies between the search API and the timeline API. This deserializer determine which structure is in play and
* creates a tweet from it.
*
* @author Craig Walls
From source file org.springframework.social.facebook.api.impl.json.StoryTagMapDeserializer.java
public class StoryTagMapDeserializer extends JsonDeserializer<Map<Integer, List<StoryTag>>> { @SuppressWarnings("unchecked") @Override public Map<Integer, List<StoryTag>> deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException {
From source file com.wealdtech.jackson.modules.IntervalDeserializer.java
public class IntervalDeserializer extends JsonDeserializer<Interval> { private static final Logger LOGGER = LoggerFactory.getLogger(IntervalDeserializer.class); private static DateTimeFormatter formatter = DateTimeFormat.forPattern("yyyy-MM-dd'T'HH:mm:ssZ"); private static DateTimeZone utczone = DateTimeZone.forID("UTC"); @Override
From source file org.agorava.twitter.jackson.LocalTrendsDeserializer.java
/**
* Deserializer to read local trends data into a LocalTrendsHolder object.
*
* @author Craig Walls
* @author Antoine Sabot-Durand
*/
From source file org.springframework.cloud.dataflow.rest.client.support.JobParameterJacksonDeserializer.java
/**
* Jackson Deserializer for {@link JobParameter} de-serialization.
*
* @author Gunnar Hillert
* @since 1.0
*/