I am parsing a json string using gson. It is similar to this:
{
    "ACode": "aa",
    "RCode": "rr",
    "Errors": "e1,e2,e3"
}
I think that the errors should have been a proper json array, but I don't have control of that. 
I want to get the errors into an array or collection in java. This is easy enough using String.split with comma as separator. However I am new to gson and I don't know if I would be ignoring functionality that it provides to parse a comma separated string.
Does anyone know whether gson can handle this automatically?
 
     
     
    