code: public static String maskJson(String input, String key) {
          DocumentContext ctx = JsonPath.parse(input);
          return maskJson(ctx, key);
      }
docs: Replace values in JSON using json path
  @param input String The source of the string that needs to be masked
  @param key String The key maps to a list of json path for masking
  @return String Masked result