Package com.uip.tatar.util

Examples of com.uip.tatar.util.StringTypeAdapter


        } else {
            userData = new JSONObject(response.getData());
        }

        return new GsonBuilder()
                .registerTypeAdapter(String.class, new StringTypeAdapter())
                .setDateFormat("yyyy-MM-dd")
                .serializeNulls()
                .setFieldNamingPolicy(FieldNamingPolicy.LOWER_CASE_WITH_UNDERSCORES)
                .create()
                .fromJson(userData.toString(), User.class);
View Full Code Here

TOP

Related Classes of com.uip.tatar.util.StringTypeAdapter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.