play.modules.morphia.utils
Class BlobGsonAdapter
java.lang.Object
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.
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 |
BlobGsonAdapter
public BlobGsonAdapter()
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.