Class BuiltInTypes

java.lang.Object
org.eclipse.yasson.internal.BuiltInTypes

public class BuiltInTypes extends Object
Types which are supported by the Yasson by default.
  • Method Details

    • isClassAvailable

      public static boolean isClassAvailable(String className)
      Check whether the class is available.
      Parameters:
      className - name of the checked class
      Returns:
      true if available, otherwise false
    • isKnownType

      public static boolean isKnownType(Class<?> clazz)
      Whether the type is a supported type by default.
      Parameters:
      clazz - type to check
      Returns:
      whether is supported