Think about this question from the other way around - same interfaces, but
now look at the data itself, the JSON:
{name:foo, shape:bar}
What is that? Is it a Binterface with its other properties null? Is it a
Cinterface with its other properties null?
{name:foo, radius:100, height:200}
What
Did you get solution to this problem?
On Tuesday, July 31, 2012 3:20:21 AM UTC-4, rkulisas wrote:
Hi,
I have 4 interfaces:
public interface Ainterface{
getName()/setName();
getShape()/setShape();
}
public interface Binterface extends Ainterface{
getWidth()/setWidth();
Hi,
I have 4 interfaces:
public interface Ainterface{
getName()/setName();
getShape()/setShape();
}
public interface Binterface extends Ainterface{
getWidth()/setWidth();
getHeight()/setHeight();
...
}
public interface Cinterface extends Ainterface{
getRadius()/setRadius();