![JAR search and dependency download from the Maven repository](/logo.png)
org.loom.appengine.json.KeyJacksonMixin 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 org.codehaus.jackson.map.annotate.JsonDeserialize;
import org.codehaus.jackson.map.annotate.JsonSerialize;
import com.google.appengine.api.datastore.Key;
/**
* Mixin used to serialize {@link Key} instances using Jackson.
* To use, invoke
*
* objectMapper.getSerializationConfig().addMixInAnnotations(Key.class, KeyJacksonMixIn.class);
*
* Details about mixins in Jackson can be seen here
* @author icoloma
*
*/
@JsonSerialize(using=KeySerializer.class)
@JsonDeserialize(using=KeyDeserializer.class, as=Key.class)
public class KeyJacksonMixin {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy