Class JsonUtils

java.lang.Object
io.smallrye.jwt.JsonUtils

public class JsonUtils extends Object
  • Method Details

    • replaceMap

      public static jakarta.json.JsonObject replaceMap(Map<String,Object> map)
    • wrapValue

      public static jakarta.json.JsonValue wrapValue(Object value)
    • convert

      public static Object convert(Class<?> klass, Object value)
      Manual converter to convert Json type to supported Java types in the spec.
      Parameters:
      klass - Class to convert the value to
      value - the value to be converted
      Returns:
      converted Object