I've got a JsonNode that is provided by an external library. I need to convert this JsonNode into it's POJO representation.
I've seen methods like this:
mapper.readValue(jsonNode.traverse(), MyPojo.class);
But I'm not very happy with this sollution. traverse() will actually convert my JsonNode into a String representation before it is deserialized into a POJO. The performance is an issue for me in this case.
Any other way of doing it?
Thanks