Class SaferJSONResolver

  • All Implemented Interfaces:
    Resolver

    public class SaferJSONResolver
    extends ResolverImp
    Resolver implementation that resolves and escapes JSON content.

    This resolver resolves values based on the following: %asJSONString{...}, and will place the result in a a JSON node with the correct escaping, particularly of quotation marks.

    • Constructor Detail

      • SaferJSONResolver

        public SaferJSONResolver()
    • Method Detail

      • resolve

        public java.lang.String resolve​(java.lang.String lookupValue)
        .
      • resolve

        public java.lang.String resolve​(java.lang.String lookupValue,
                                        InterlokMessage target)
        .
      • canHandle

        public boolean canHandle​(java.lang.String value)
        .
      • getJsonDeserializer

        public JsonDeserializer<com.fasterxml.jackson.databind.JsonNode> getJsonDeserializer()
      • setJsonDeserializer

        public void setJsonDeserializer​(JsonDeserializer<com.fasterxml.jackson.databind.JsonNode> jsonDeserializer)