@Test void escapeJSONWithNullInput() { assertNull(this.tool.json(null), "Unexpected non-null output for null input"); }
public String json(Object string) { if (string == null) { return null; } return StringEscapeUtils.escapeJson(String.valueOf(string)); }
EscapeTool extends org.apache.velocity.tools.generic.EscapeTool { public String json(Object string) { if (string == null) { return null; } return StringEscapeUtils.escapeJson(String.valueOf(string)); } }
EscapeTool extends org.apache.velocity.tools.generic.EscapeTool { public String json(Object string) { if (string == null) { return null; } return StringEscapeUtils.escapeJson(String.valueOf(string)); }  }
EscapeTool extends org.apache.velocity.tools.generic.EscapeTool { public String json(Object string) { if (string == null) { return null; } return StringEscapeUtils.escapeJson(String.valueOf(string)); }  @Override String xml(Object content); String json(Object string); String quotedPrintable(Object content); String q(Object content); String b(Object content); String url(Map<String, ?> parametersMap); String css(String identifier); @Override String url(Object string); }
EscapeTool extends org.apache.velocity.tools.generic.EscapeTool { public String json(Object string) { if (string == null) { return null; } return StringEscapeUtils.escapeJson(String.valueOf(string)); }  @Override String xml(Object content); String json(Object string); String quotedPrintable(Object content); String q(Object content); String b(Object content); String url(Map<String, ?> parametersMap); String css(String identifier); @Override String url(Object string);  }