The result of the de-serialization context puts line:
-cmd replaceTextInFile -arg \"/home/greg/install4j/response.varfile;{DB_PORT2};3306;false\"
into
-cmd replaceTextInFile -arg "/home/greg/install4j/response.varfile;{\n\t\t\tDB_PORT2\t\t};3306;false"
Let's suppose we have a JSON
And a Glue class as per this example: https://github.com/dinuta/estuary-agent-java/blob/078f14df94caa49aabea7c8a184dd03991f0e8d3/src/main/java/com/github/dinuta/estuary/agent/model/api/CommandDescription.java#L9
The result of the de-serialization context puts line: -cmd replaceTextInFile -arg \"/home/greg/install4j/response.varfile;{DB_PORT2};3306;false\" into -cmd replaceTextInFile -arg "/home/greg/install4j/response.varfile;{\n\t\t\tDB_PORT2\t\t};3306;false"
Gson version: https://mvnrepository.com/artifact/com.google.code.gson/gson/2.3.1
Later edit: I will try with the latest version