.registerTypeAdapter(SearchResult.Digest.class, new SearchResultDigestInstanceCreator()) .registerTypeAdapter(WaveletId.class, new WaveletIdInstanceCreator()) .registerTypeAdapter(RawAttachmentData.class, new AttachmentDataInstanceCreator()) .registerTypeAdapter(byte[].class, new ByteArrayGsonAdaptor());