|
| static ObjectMapper | createJsonMapper () |
| |
| static String | asJsonSilently (Object p_object) |
| |
| static String | asPrettyJson (Object p_object) throws IOException |
| |
| static String | asJson (Object p_object) throws IOException |
| |
| static byte [] | getBytes (String p_str) throws UnsupportedEncodingException |
| |
| static List< String > | asList (JSONArray p_array) throws JSONException |
| |
| static< T extends LdapEnum > List< T > | asEnumList (JSONArray p_array, Class< T > clazz) throws JSONException, NoSuchMethodException, InvocationTargetException, IllegalAccessException |
| |
| static void | addToListIfHas (List< String > p_list, JSONObject jsonObj, String p_key) throws JSONException |
| |
| static void | addToJSONObjectIfNotNull (JSONObject p_jsonObject, String key, Object value) throws JSONException |
| |
| static void | addToJSONObjectIfNotNull (JSONObject p_jsonObject, String key, String[] value) throws JSONException |
| |
| static String | asString (List<? extends HasParamName > p_list) |
| |
| static String | listAsString (List< String > p_list) |
| |
| static String | mapAsString (Map< String, String > p_map) throws JSONException |
| |
| static boolean | allNotBlank (String... p_strings) |
| |
| static List< String > | splittedStringAsList (String p_string, String p_delimiter) |
| |
| static List< String > | jsonArrayStringAsList (String jsonString) throws JSONException |
| |
| static JSONArray | listToJsonArray (Collection< String > list) |
| |
| static Map< String, String > | jsonObjectArrayStringAsMap (String jsonString) throws JSONException |
| |
| static< T > T | firstItem (List< T > items) |
| |
| static boolean | isNullOrEmpty (String string) |
| |
| static int | parseIntSilently (String intString) |
| |