Skip to content

Instantly share code, notes, and snippets.

@ryosms
Created August 13, 2013 08:38
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
楽天の凶悪なJsonをAndroidAnnotationのRest APIで無理やりなんとかするアレ
package jp.sumasu.rakutenapi;
import org.springframework.http.MediaType;
import org.springframework.http.converter.json.GsonHttpMessageConverter;
/**
* @author ryosms - ryo.sms at gmail.com
*/
public class RakutenGsonConverter extends GsonHttpMessageConverter {
@Override
public boolean canRead(Class<?> clazz, MediaType mediaType) {
return true;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment