src/main/java/fi/hh/jsonresume/domain/Resume.java
@Transient
	@JsonProperty("basics")
	private Object basics() {
		String objString = "";
		ObjectMapper objectMapper = new ObjectMapper();
		try {
			objString = objectMapper.writeValueAsString(new BasicsJSON(this));
		} catch (JsonProcessingException e) {
			e.printStackTrace();
		}
		
		try {
			return objectMapper.readValue(objString, BasicsJSON.class);
		} catch (IOException e) {
			e.printStackTrace();
		}
		return "";
	}
// ------------------------- JSON RESPONSE STARTS HERE (following JSON Resume Schema) -------------------------
JSON RESPONSE STARTS HERE (following JSON Resume Schema)
JSON RESPONSE STARTS HERE ( following JSON Resume Schema )
@Transient
	@JsonProperty("basics")
	private Object basics() {
		String objString = "";
		ObjectMapper objectMapper = new ObjectMapper();
		try {
			objString = objectMapper.writeValueAsString(new BasicsJSON(this));
		} catch (JsonProcessingException e) {
			e.printStackTrace();
		}
		try {
			return objectMapper.readValue(objString, BasicsJSON.class);
		} catch (IOException e) {
			e.printStackTrace();
		}
		return "";
	}
@ Transient @ JsonProperty ( "basics" ) private Object basics ( ) { String objString = "" ; ObjectMapper objectMapper = new ObjectMapper ( ) ; try { objString = objectMapper . writeValueAsString ( new BasicsJSON ( this ) ) ; } catch ( JsonProcessingException e ) { e . printStackTrace ( ) ; } try { return objectMapper . readValue ( objString , BasicsJSON . class ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } return "" ; }
JSON RESPONSE STARTS HERE (following JSON Resume Schema)
JSON RESPONSE STARTS HERE ( following JSON Resume Schema )