Java Code Examples for com.fasterxml.jackson.databind.type.TypeFactory#constructCollectionLikeType()

The following examples show how to use com.fasterxml.jackson.databind.type.TypeFactory#constructCollectionLikeType() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Converters.java    From sailfish-core with Apache License 2.0 4 votes vote down vote up
@Override
public JavaType getOutputType(TypeFactory typeFactory) {
    return typeFactory.constructCollectionLikeType(LinkedList.class, JsonAttribute.class);
}
 
Example 2
Source File: Converters.java    From sailfish-core with Apache License 2.0 4 votes vote down vote up
@Override
public JavaType getOutputType(TypeFactory typeFactory) {
    return typeFactory.constructCollectionLikeType(LinkedList.class, JsonField.class);
}
 
Example 3
Source File: Converters.java    From sailfish-core with Apache License 2.0 4 votes vote down vote up
@Override
public JavaType getOutputType(TypeFactory typeFactory) {
    return typeFactory.constructCollectionLikeType(LinkedList.class, JsonMessage.class);
}
 
Example 4
Source File: Converters.java    From sailfish-core with Apache License 2.0 4 votes vote down vote up
@Override
public JavaType getInputType(TypeFactory typeFactory) {
    return typeFactory.constructCollectionLikeType(List.class, JsonAttribute.class);
}
 
Example 5
Source File: Converters.java    From sailfish-core with Apache License 2.0 4 votes vote down vote up
@Override
public JavaType getInputType(TypeFactory typeFactory) {
    return typeFactory.constructCollectionLikeType(List.class, JsonField.class);
}
 
Example 6
Source File: Converters.java    From sailfish-core with Apache License 2.0 4 votes vote down vote up
@Override
public JavaType getInputType(TypeFactory typeFactory) {
    return typeFactory.constructCollectionLikeType(List.class, JsonMessage.class);
}