I am new to Java. Can someone please give me some clues on how to get the values from a string when the string returned is of this type:

```
[(key1,value1), (key2,value2), (key3, value3)]

```

Also note that value field may also contain a `,` comma. I was not able to use GSON approach as the values are inside parenthesis and inside angular brackets. Is the only solution is to process the string first to replace all these to conform to the JSON structure?