jackson serialization of nested objects
问题 I have problem with jackson serialization of object by its interface. I have class class Point implements PointView { private String id; private String name; public Point() { } public Point(String id, String name) { this.id = id; this.name = name; } @Override public String getId() { return id; } public String getName() { return name; } } which implements interface PointView { String getId(); } and have class class Map implements MapView { private String id; private String name; private Point