I have a Java Property file and there is a KEY as ORDER. So I retrieve the VALUE of that KEY using the getProperty(
I recommend using com.fasterxml.jackson.databind.ObjectMapper (Maven repo link: https://mvnrepository.com/artifact/com.fasterxml.jackson.core) like
final ObjectMapper mapper = new ObjectMapper();
Map mapFromString = new HashMap<>();
try {
mapFromString = mapper.readValue(theStringToParse, new TypeReference