Example usage for com.google.gson JsonDeserializer interface-usage

List of usage examples for com.google.gson JsonDeserializer interface-usage

Introduction

In this page you can find the example usage for com.google.gson JsonDeserializer interface-usage.

Usage

From source file com.fatboyindustrial.gsonjodatime.PeriodConverter.java

/**
 * GSON serialiser/deserialiser for converting Joda {@link Period} objects.
 */
public class PeriodConverter implements JsonSerializer<Period>, JsonDeserializer<Period> {
    /**
     * Gson invokes this call-back method during serialization when it encounters a field of the

From source file com.fiepi.mastodon.SpannedTypeAdapter.java

class SpannedTypeAdapter implements JsonDeserializer<Spanned> {
    @Override
    public Spanned deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context)
            throws JsonParseException {
        return HtmlUtils.fromHtml(Emojione.shortnameToUnicode(json.getAsString(), false));
    }

From source file com.fooock.shodan.model.banner.BannerDeserializer.java

/**
 *
 */
public class BannerDeserializer implements JsonDeserializer<List<Banner>> {

    @Override

From source file com.fooock.shodan.model.dns.DnsHostnameDeserializer.java

/**
 *
 */
public class DnsHostnameDeserializer implements JsonDeserializer<List<DnsHostname>> {

    @Override

From source file com.fooock.shodan.model.dns.DnsIpDeserializer.java

/**
 *
 */
public class DnsIpDeserializer implements JsonDeserializer<List<DnsIp>> {

    @Override

From source file com.fooock.shodan.model.exploit.ExploitDeserializer.java

/**
 * Exploit json deserializer
 */
public class ExploitDeserializer implements JsonDeserializer<List<Exploit>> {

    @Override

From source file com.fooock.shodan.model.host.FacetReportDeserializer.java

/**
 *
 */
public class FacetReportDeserializer implements JsonDeserializer<FacetReport> {

    @Override

From source file com.fooock.shodan.model.protocol.ProtocolDeserializer.java

/**
 * Custom json deserializer for the {@link Protocol} class
 */
public class ProtocolDeserializer implements JsonDeserializer<List<Protocol>> {

    @Override

From source file com.fooock.shodan.model.user.HttpHeaderDeserializer.java

/**
 *
 */
public class HttpHeaderDeserializer implements JsonDeserializer<HttpHeader> {

    @Override

From source file com.gemapps.saidit.networking.deserializer.TopEntriesDeserializer.java

/**
 * Created by edu on 3/21/17.
 */

public class TopEntriesDeserializer implements JsonDeserializer<TopEntries> {
    private static final String TAG = "TopEntriesDeserializer";