Java – alternatives to Commons beautils
•
Java
I am looking for an alternative to public beautils
I want a small independent alternative that will lead to no / minimal conflict
The main function I pursue is nested attribute retrieval
Thanks in advance, Steven
Solution
Although property management is not Jackson's main concern, it can be used for this article
The basic idea is that you can not only read / write JSON to POJOs, but also perform compatible transformations: including "serializing" POJOs into Java maps Because you can move back and forth between representations, you can basically get a bean introspector for free
Jackson has no external dependencies, but you need the core (streaming API, impls) and mapper jar (data binding)
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码