![JAR search and dependency download from the Maven repository](/logo.png)
org.loom.appengine.json.TextSerializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of loom-appengine Show documentation
Show all versions of loom-appengine Show documentation
Uploads all artifacts belonging to configuration ':archives'.
The newest version!
package org.loom.appengine.json;
import java.io.IOException;
import org.codehaus.jackson.JsonGenerator;
import org.codehaus.jackson.JsonProcessingException;
import org.codehaus.jackson.map.JsonSerializer;
import org.codehaus.jackson.map.SerializerProvider;
import com.google.appengine.api.datastore.Text;
public class TextSerializer extends JsonSerializer {
@Override
public void serialize(Text text, JsonGenerator jgen, SerializerProvider arg2)
throws IOException, JsonProcessingException {
jgen.writeString(text.getValue());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy