I have a string that I have obtained by printing a Hashmap in Java:
String a = "{data={field1={field3=value3}, field2={field4=value4, field5=value5}}}"
Is there any function in Java that can parse and convert this string into a Hashmap. For this specific string, this function should return a Map<String, Map<String, Map<String, String>>>
.