Suppose I have the following classes
public class Baz {
private List foos = new ArrayList();
}
public class Foo {
private String strin
I think you can do it without custom converter.
Override the toString() method of Foo class like below:
@Override
public String toString(){
return this.getString(); //assuming string property has a getter method. if not,write this.string
And now the follwing mapping:
fully qualified name of Baz(with package name)
same for Target
foos
fooStrings
foo
java.lang.String