@ApplicationScoped public class JsonMapperJackson extends Object implements org.jboss.seam.social.JsonMapper
ObjectMapper Jackson.| Modifier and Type | Field and Description |
|---|---|
protected javax.enterprise.inject.Instance<org.codehaus.jackson.map.Module> |
moduleInstances |
| Constructor and Description |
|---|
JsonMapperJackson() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
init() |
<T> T |
mapToObject(org.jboss.seam.social.rest.RestResponse resp,
Class<T> clazz) |
String |
ObjectToJsonString(Object obj) |
void |
registerModule(org.codehaus.jackson.map.Module module)
Register a Jackson configuration
Module to set special rules for de-serialization |
@Inject @Any protected javax.enterprise.inject.Instance<org.codehaus.jackson.map.Module> moduleInstances
public <T> T mapToObject(org.jboss.seam.social.rest.RestResponse resp,
Class<T> clazz)
mapToObject in interface org.jboss.seam.social.JsonMapperpublic String ObjectToJsonString(Object obj)
ObjectToJsonString in interface org.jboss.seam.social.JsonMapperpublic void registerModule(org.codehaus.jackson.map.Module module)
Module to set special rules for de-serializationmodule - to register@PostConstruct protected void init()
Copyright © 2011-2013 Seam Framework. All Rights Reserved.