Class JsonResolver

java.lang.Object
io.github.kaktushose.jdac.message.resolver.internal.JsonResolver
All Implemented Interfaces:
Resolver<com.fasterxml.jackson.databind.JsonNode>

@Internal public final class JsonResolver extends Object implements Resolver<com.fasterxml.jackson.databind.JsonNode>
  • Constructor Details

  • Method Details

    • resolve

      public com.fasterxml.jackson.databind.JsonNode resolve(com.fasterxml.jackson.databind.JsonNode node, Locale locale, Map<String, @Nullable Object> placeholders)
      Description copied from interface: Resolver
      Resolves the given object for the provided locale.
      Specified by:
      resolve in interface Resolver<com.fasterxml.jackson.databind.JsonNode>
      Parameters:
      node - the object to resolve
      locale - the Locale to use for localization
      placeholders - the placeholders to use if supported by the used localization system
      Returns:
      the resolved object