Back to project page RestIt.
The source code is released under:
Apache License
If you think the Android project RestIt listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.restit.model.serialization; // w ww . j ava2 s. c om import java.lang.reflect.Type; import org.restit.model.ServerError; import com.google.gson.JsonElement; import com.google.gson.JsonSerializationContext; import com.google.gson.JsonSerializer; public class ServerErrorSerializer implements JsonSerializer<ServerError> { @Override public JsonElement serialize(ServerError serverError, Type typeOfSrc, JsonSerializationContext arg2context) { // TODO Auto-generated method stub return null; } }