I have the following Json
string which i'm suppose to deserialize using Gson.
My issue is: i can't modify the raw string because it is coming from a server.
The string as it is can't be deserialized because it is not well formated. If you look at the grafs key from the first subarea you can see it is an object and the grafs key from the second subarea is an array.
How can i programmatically change the string so i end up with both grafs key as an array. I think i should use string methods but i don't know how.
Please help me with this.