class SubClass {
private String a1;
private String a2;
}
class B {
private String b1;
private Subclass subclass;
}
Can Jackson serialize the above 'class B' to a JSON which looks like:
{
"/B/b1": "xxxxx",
"/B/subclass/a1": "xxxxxx",
"/B/subclass/a2": "xxxxxx"
}
i.e. all flattened to JSON pointer instead of the traditional tree structure.