Code example for JsonParser

0
	Gson gson;
	JsonParser parser;
 
	public Parser() { 
		gson = new Gson();
		parser = new JsonParser();
	} 
 
	public void parseLastUpdated(String jsonString) {
		JsonObject obj = parser.parse(jsonString).getAsJsonObject();
		Last_Updated lastUp = gson.fromJson(obj, Last_Updated.class);
 
		System.err.println(lastUp); // to String in DataObjects implemented
	} 
}