can i parse my json data like this,,? : String json = new Gson().toJson(cList);
	
			JSONArray jasonlist = new JSONArray(json);
			
			Map<String, Object> obj = new HashMap<>();
			
			String dob1 = (String)obj.get("createdDate");
			Date dtDob = new Date(dob1);
			SimpleDateFormat sdf = new SimpleDateFormat("dd-MMM-yyyy");
			String  newDate = sdf.format(dtDob);
			
			obj.put("companymasterdata", jasonlist);
			obj.put("EVENTNAME", "COMPANY_DATA");
			obj.put( "SOURCENAME", "COMPANY_KAFKA");
		

i just want to know whether my "createdDate" is parsed or it throw run time errors or not 