Class JsonToolkitKt
-
- All Implemented Interfaces:
public final class JsonToolkitKt
-
-
Method Summary
Modifier and Type Method Description final static <T extends Any> TgetItValue(JSONObject $self, String key, Class<T> type)Extend the getValue function of JSONObject to get iterated values. final static StringgetItString(JSONObject $self, String key)Extend the getString function of JSONObject to get iterated values. final static StringgetItString(JSONObject $self, String key, String default)final static IntegergetItInteger(JSONObject $self, String key)Extend the getInteger function of JSONObject to get iterated values. final static IntegergetItInteger(JSONObject $self, String key, Integer default)final static BooleangetItBoolean(JSONObject $self, String key)Extend the getBoolean function of JSONObject to get iterated values. final static BooleangetItBoolean(JSONObject $self, String key, Boolean default)-
-
Method Detail
-
getItValue
final static <T extends Any> T getItValue(JSONObject $self, String key, Class<T> type)
Extend the getValue function of JSONObject to get iterated values.
-
getItString
final static String getItString(JSONObject $self, String key)
Extend the getString function of JSONObject to get iterated values.
-
getItString
final static String getItString(JSONObject $self, String key, String default)
-
getItInteger
final static Integer getItInteger(JSONObject $self, String key)
Extend the getInteger function of JSONObject to get iterated values.
-
getItInteger
final static Integer getItInteger(JSONObject $self, String key, Integer default)
-
getItBoolean
final static Boolean getItBoolean(JSONObject $self, String key)
Extend the getBoolean function of JSONObject to get iterated values.
-
getItBoolean
final static Boolean getItBoolean(JSONObject $self, String key, Boolean default)
-
-
-
-