Class DtoHelper

java.lang.Object
org.apache.openmeetings.db.util.DtoHelper

public class DtoHelper extends Object
  • Method Details

    • optInt

      public static Integer optInt(com.github.openjson.JSONObject o, String key)
    • optLong

      public static Long optLong(com.github.openjson.JSONObject o, String key)
    • optEnum

      public static <T extends Enum<T>> T optEnum(Class<T> clazz, com.github.openjson.JSONObject o, String key)
    • optEnumList

      public static <T extends Enum<T>> Collection<T> optEnumList(Class<T> clazz, com.github.openjson.JSONArray arr)