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.autoclavestudios.jbower.config.internal.JsonRegistryTranslator.java

/**
 * Created by stewart on 2015-04-25.
 */
public class JsonRegistryTranslator implements JsonDeserializer<Registry>, JsonSerializer<Registry> {

    private final Logger logger = LoggerFactory.getLogger(JsonRegistryTranslator.class);

From source file com.azure.webapi.DateSerializer.java

/**
 * Date Serializer/Deserializer to make Mobile Services and Java dates
 * compatible
 */
@SuppressLint("SimpleDateFormat")
public class DateSerializer implements JsonSerializer<Date>, JsonDeserializer<Date> {

From source file com.b12kab.tmdblibrary.AccountStateDeserializer.java

public class AccountStateDeserializer implements JsonDeserializer<AccountState> {
    private static final String TAG = AccountStateDeserializer.class.getSimpleName();

    @Override
    public AccountState deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context)
            throws JsonParseException {

From source file com.baidu.rigel.biplatform.ac.util.deserialize.CubeDeserialize.java

/**
 * cubef???
 * 
 * @author xiaoming.chen
 *
 */

From source file com.baidu.rigel.biplatform.ac.util.deserialize.DataSourceInfoDeserialize.java

/**
 * ???????
 * 
 * @author xiaoming.chen
 *
 */

From source file com.baidu.rigel.biplatform.ac.util.deserialize.DimensionDeserialize.java

/**
 * dimension ???
 * 
 * @author xiaoming.chen
 *
 */

From source file com.baidu.rigel.biplatform.ac.util.deserialize.LevelDeserialize.java

/**
 * level???
 * 
 * @author xiaoming.chen
 *
 */

From source file com.baidu.rigel.biplatform.ac.util.deserialize.MeasureDeserialize.java

/**
 * Measure???
 * 
 * @author xiaoming.chen
 *
 */

From source file com.baidu.rigel.biplatform.ac.util.deserialize.MetaConditionDeserialize.java

/**
 * ?????
 * 
 * @author xiaoming.chen
 *
 */

From source file com.bccriskadvisory.link.rest.gson.OptionalAdapter.java

/**
 * This adapter makes optional types 'transparent' - the serialized form looks like the contained object.
 * <b>NOTE:</b>one shortcoming of this implementation is that fields that are null or absent in the json representation will not be 
 * deserialized to empty optionals, since the deserialize method will not be called for such fields. Therefore <b>any</b> optional 
 * fields in a gson object must be initialized to Optional.empty in the field declaration.
 */