use of org.springframework.integration.transformer.ObjectToMapTransformer in project spring-integration by spring-projects.
the class Transformers method toMap.
public static ObjectToMapTransformer toMap(JsonObjectMapper<?, ?> jsonObjectMapper, boolean shouldFlattenKeys) {
ObjectToMapTransformer transformer = new ObjectToMapTransformer(jsonObjectMapper);
transformer.setShouldFlattenKeys(shouldFlattenKeys);
return transformer;
}
use of org.springframework.integration.transformer.ObjectToMapTransformer in project spring-integration by spring-projects.
the class Transformers method toMap.
public static ObjectToMapTransformer toMap(boolean shouldFlattenKeys) {
ObjectToMapTransformer transformer = new ObjectToMapTransformer();
transformer.setShouldFlattenKeys(shouldFlattenKeys);
return transformer;
}
Aggregations