I have Map<String, String>
, where key is mapped to Class
fields. I need to convert this map to create Test object
with the Map key/value
Ex. Map<"type", "type1">
class Test {
private String type;
}
Is there any utility that does this in java or any custom code refernce that can help me achieve this