Skip to content

Instantly share code, notes, and snippets.

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
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
public class RakutenGsonConverter extends GsonHttpMessageConverter {
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