I have a bunch of POJOs deserialized from JSON strings. Is it possible to
instruct Jackson at runtime to indicate which fields need to be
deserialized? Consider the following POJO structure rooted at A:
class A {
String a1;
String a2;
String a3;
B b;
}
class B {
String b1;
String b2;
C c;
}
class C {
String c1;
String c2;
}
At compile time I can generate 2^4 * 2^3 * 2^2 view classes to achieve what
I want, but that sounds like an overkill. Is there simpler way to achieve
this?
--
You received this message because you are subscribed to the Google Groups
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jackson-user/bcd164c0-3d0e-40eb-9f5b-b7ac6896cbe4%40googlegroups.com.