This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This build file was generated by the Gradle 'init' task. | |
* | |
* This generated file contains a commented-out sample Java project to get you started. | |
* For more details take a look at the Java Quickstart chapter in the Gradle | |
* user guide available at https://docs.gradle.org/3.5/userguide/tutorial_java_projects.html | |
*/ | |
/* | |
// Apply the java plugin to add support for Java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/bob/sandbox/github/nfet/mvn_set_java_compiler_version | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building mvn-demo-java-compiler-version 1.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ mvn-demo-java-compiler-version --- | |
[INFO] Deleting /Users/bob/sandbox/github/nfet/mvn_set_java_compiler_version/target | |
[INFO] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; AutoHotKey: Mac key bindings for IntelliJ/Android Studio for Windows | |
#IfWinActive ahk_exe idea64.exe || ahk_exe studio64.exe | |
; ====== COMMON ======================================== | |
; Find Action (⌘+Shift+A) -> (Ctrl+Shift+A) | |
#+a:: | |
{ | |
Send ^+a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.kapresoft.springboot.serializeimmutableobjects.dto.simple; | |
import com.fasterxml.jackson.annotation.JsonProperty; | |
import com.fasterxml.jackson.annotation.JsonPropertyOrder; | |
import lombok.Builder; | |
import lombok.Value; | |
/** | |
* Immutable Account using Lombok {@code @Value}. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.kapresoft.springboot.serializeimmutableobjects.dto.simple; | |
import com.fasterxml.jackson.annotation.JsonProperty; | |
import com.fasterxml.jackson.annotation.JsonPropertyOrder; | |
import lombok.*; | |
import lombok.experimental.FieldDefaults; | |
@Getter | |
@ToString | |
@EqualsAndHashCode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"username": "kapre", | |
"email": "kapre@kapresoft.com", | |
"firstName": "Kapre", | |
"lastName": "Agta" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
"Client App" -> "Account API": POST /account | |
"Account API" -> "Jackson ObjectMapper": readValue(byte[] src, Class<Account>) | |
"Account API" -> "Account API": createAccount(Account) | |
"Account API" -> "Jackson ObjectMapper": writeValue(OutputStream out, Account newAccount) | |
"Client App" <-- "Account API": Response (OutputStream) | |
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>com.fasterxml.jackson</groupId> | |
<artifactId>jackson-parent</artifactId> | |
<!-- note: does NOT change for every version of bom --> | |
<version>2.12</version> | |
</parent> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.kapresoft.springboot.serializeimmutableobjects.dto.hierarchical; | |
import lombok.Getter; | |
@Getter | |
public abstract class BaseAccount { | |
String username; | |
String email; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.kapresoft.springboot.serializeimmutableobjects.dto.hierarchical; | |
import com.fasterxml.jackson.annotation.JsonProperty; | |
import com.fasterxml.jackson.annotation.JsonPropertyOrder; | |
import lombok.Builder; | |
import lombok.EqualsAndHashCode; | |
import lombok.Value; | |
@Value | |
@EqualsAndHashCode(callSuper = true) |
OlderNewer