play.modules.morphia.utils
Class BlobGsonAdapter

java.lang.Object
  extended by play.modules.morphia.utils.BlobGsonAdapter
All Implemented Interfaces:
com.google.gson.JsonSerializer<Blob>

public class BlobGsonAdapter
extends Object
implements com.google.gson.JsonSerializer<Blob>

Created by IntelliJ IDEA. User: luog Date: 14/01/12 Time: 7:50 PM To change this template use File | Settings | File Templates.


Constructor Summary
BlobGsonAdapter()
           
 
Method Summary
 com.google.gson.JsonElement serialize(Blob src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlobGsonAdapter

public BlobGsonAdapter()
Method Detail

serialize

public com.google.gson.JsonElement serialize(Blob src,
                                             Type typeOfSrc,
                                             com.google.gson.JsonSerializationContext context)
Specified by:
serialize in interface com.google.gson.JsonSerializer<Blob>


Copyright © 2012. All Rights Reserved.