If I have a POJO class like
public class Employee {
public String name;
public String department;
}
Jackson can convert it to a json string '{"name" : "x", "depaturement" : "y"}'; I want to get the same POJO information. Dose there have a function likes below:
RootNode rootNode = JacksonSomeFunction.get(Employee.class)
assert(rootNode[0].name == "name")
assert(rootNode[0].type == String.class)