code: public static String getRedactedJsonString(final String jsonString, final String... jsonPathsToRedact) {
      	String rtn = "";
      	if (jsonString != null && jsonString != "") {
      		rtn = jsonString;
      		try {
      			ObjectMapper mapper = new ObjectMapper();
      			JsonNode rootJsonNode = mapper.readTree(jsonString);
      			List<JsonNode> nodesToRedact;
      			ObjectNode writableNodeToRedact;
      			for (String jsonPathToRedact : jsonPathsToRedact) {
      				if (jsonPathToRedact != null && jsonPathToRedact != "") {
      					nodesToRedact = rootJsonNode.findParents(jsonPathToRedact);
      					for (JsonNode jsonNodeToRedact : nodesToRedact) {
  
      						writableNodeToRedact = (ObjectNode)jsonNodeToRedact;
      						if (writableNodeToRedact != null && !writableNodeToRedact.isMissingNode()) {
      							writableNodeToRedact.put(jsonPathToRedact, "[REDACTED]");
      						}
      					}
     					}
      			}
      			rtn = mapper.writeValueAsString(rootJsonNode);
      		} catch (IOException e) {
      			rtn = "";
      		}
      	}
      	return rtn;
      }
docs: Returns a String of the json passed in, but with any jsonPathsToRedact
  marked as [REDACTED]<br />
  On Error will return an empty string
  @param jsonString The original json string to be redacted
  @param jsonPathsToRedact The json path values which are to be redacted
  @return The jsonString passed in, but with specific values marked as [REDACTED]