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

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

Introduction

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

Usage

From source file com.intuit.ipp.serialization.custom.XmlElementFieldNamingPolicy.java

public class XmlElementFieldNamingPolicy implements FieldNamingStrategy {
    /**
     * @param   f       field
     * @return name of XmlElement annotation if field has XmlElement annotation
     */
    @Override

From source file com.itametis.jsonconverter.namingStrategy.ReadJsonNamingStrategy.java

/**
 * @author <a href="mailto:chloe.mahalin@itametis.com">Chlo MAHALIN - ITAMETIS</a>
 */
public class ReadJsonNamingStrategy implements FieldNamingStrategy {

    @Override

From source file com.itametis.jsonconverter.namingStrategy.WriteJsonNamingStrategy.java

/**
 * @author <a href="mailto:chloe.mahalin@itametis.com">Chlo MAHALIN - ITAMETIS</a>
 */
public class WriteJsonNamingStrategy implements FieldNamingStrategy {

    @Override

From source file com.sandata.lab.common.utils.data.strategy.CustomFieldNamingStrategy.java

/**
 * User: David M Rutgos.
 * Date: 8/21/13
 * Time: 2:45 PM
 */

From source file io.zeplin.rally.toolbox.MFieldNamingStrategy.java

/**
 * Specifically customization of the default {@link com.google.gson.FieldNamingStrategy}
 *
 * Since {@link com.google.gson.Gson} takes field names as default key
 * for serialization and deserialization.
 *

From source file net.signalr.client.serialization.gson.ReflectiveFieldNamingStrategy.java

final class ReflectiveFieldNamingStrategy implements FieldNamingStrategy {

    public String translateName(final Field field) {
        final Name name = field.getAnnotation(Name.class);

        if (name == null)

From source file org.fao.geonet.api.JsonFieldNamingStrategy.java

/**
 * Strategy for Gson to remove _ from field names when serializing to JSON.
 *
 * @author Jose Garca
 */
public class JsonFieldNamingStrategy implements FieldNamingStrategy {

From source file org.getcomposer.core.ComposerFieldNamingStrategy.java

/**
 * Process non-standard java fields from json attributes.
 * 
 * @author Robert Gruendler <r.gruendler@gmail.com>
 */
public class ComposerFieldNamingStrategy implements FieldNamingStrategy {

From source file org.wso2.developerstudio.eclipse.gmf.esb.diagram.debugger.messages.util.PojoToGsonCustomNamingStrategy.java

/**
 * This class defines naming strategy for json message fields which sent to ESB
 * Server Debugger
 * <p>
 * Eg:
 * <li>command : command</li>