Let's say I have a base class in Java:
public class Person{ public String name; } 
When I pass an object created with the name "bob" to serialize gson, it returns as:
 {"name" : "bob"} 
How can I do this to give me:
 {name:"bob"} 
I know this is a simple question, but I do not find anything that could help me in the API, and I apparently do not know the terminology suitable enough for json to search well enough to find an answer.
source share