Check for simple String inputs and don't convert them
This commit is contained in:
@@ -259,6 +259,9 @@ abstract class ProxyWrapper<T> {
|
||||
}
|
||||
|
||||
public Object fromJson(String value) {
|
||||
if (getType().equals(String.class)) {
|
||||
return value;
|
||||
}
|
||||
try {
|
||||
return mapper.readValue(value, getType());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user