|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.repository.init.JacksonResourceReader
Jackson2ResourceReader instead.
@Deprecated public class JacksonResourceReader
A ResourceReader using Jackson to read JSON into objects.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.springframework.data.repository.init.ResourceReader |
|---|
ResourceReader.Type |
| Constructor Summary | |
|---|---|
JacksonResourceReader()
Deprecated. Creates a new JacksonResourceReader. |
|
JacksonResourceReader(org.codehaus.jackson.map.ObjectMapper mapper)
Deprecated. Creates a new JacksonResourceReader using the given ObjectMapper. |
|
| Method Summary | |
|---|---|
Object |
readFrom(Resource resource,
ClassLoader classLoader)
Deprecated. |
void |
setTypeKey(String typeKey)
Deprecated. Configures the JSON document's key to lookup the type to instantiate the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JacksonResourceReader()
JacksonResourceReader.
public JacksonResourceReader(org.codehaus.jackson.map.ObjectMapper mapper)
JacksonResourceReader using the given ObjectMapper.
mapper - | Method Detail |
|---|
public void setTypeKey(String typeKey)
DEFAULT_TYPE_KEY.
typeKey -
public Object readFrom(Resource resource,
ClassLoader classLoader)
throws Exception
readFrom in interface ResourceReaderException
|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||