0

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

Sahil
  • 245
  • 5
  • 11
  • Just googling your title found the answer, please for the future, do some research before posting a question on Stackoverflow – Lino Jul 25 '18 at 14:16
  • I need to make some customization as I will have private Map coordinates instance variable in my pojo class. I need something that I can override – Sahil Jul 25 '18 at 14:17
  • we found your question to be a duplicate. Please, follow the pinned link and you will probably find the answer – Andrew Tobilko Jul 25 '18 at 14:17

0 Answers0