-
Methods in org.ghotibeaun.json.converters with parameters of type ValueConverter
Modifier and Type |
Method |
Description |
abstract JSONArray |
AbstractClassConverter.convertToJSONArray(List<?> source,
ValueConverter<?> valueConverter) |
|
JSONArray |
ClassConverter.convertToJSONArray(List<?> source,
ValueConverter<?> valueConverter) |
Convert a List to a JSONArray
|
static JSONArray |
Converters.convertToJSONArray(List<?> source,
ValueConverter<?> valueConverter,
ConverterOption<?>... options) |
|
abstract JSONObject |
AbstractClassConverter.convertToJSONObject(Map<String,?> source,
ValueConverter<?> converter) |
|
JSONObject |
ClassConverter.convertToJSONObject(Map<String,?> source,
ValueConverter<?> converter) |
Convert a Map to a JSONObject.
|
static JSONObject |
Converters.convertToJSONObject(Map<String,?> source,
ValueConverter<?> converter,
ConverterOption<?>... options) |
Convert a Map to a JSONObject.
|
Method parameters in org.ghotibeaun.json.converters with type arguments of type ValueConverter
Modifier and Type |
Method |
Description |
abstract JSONArray |
AbstractClassConverter.convertToJSONArray(List<?> source,
Optional<ValueConverter<?>> valueConverter,
Optional<Class<?>> targetClass) |
|
JSONArray |
ClassConverter.convertToJSONArray(List<?> source,
Optional<ValueConverter<?>> valueConverter,
Optional<Class<?>> targetClass) |
Convert a List to a JSONArray
|
static JSONArray |
Converters.convertToJSONArray(List<?> source,
Optional<ValueConverter<?>> valueConverter,
Optional<Class<?>> targetClass,
ConverterOption<?>... options) |
|
abstract JSONObject |
AbstractClassConverter.convertToJSONObject(Map<String,?> source,
Optional<ValueConverter<?>> valueConverter,
Optional<Class<?>> targetClass) |
|
JSONObject |
ClassConverter.convertToJSONObject(Map<String,?> source,
Optional<ValueConverter<?>> valueConverter,
Optional<Class<?>> targetClass) |
Convert a Map to JSONObject.
|
static JSONObject |
Converters.convertToJSONObject(Map<String,?> source,
Optional<ValueConverter<?>> valueConverter,
Optional<Class<?>> targetClass,
ConverterOption<?>... options) |
Convert a Map to a JSONObject.
|
static JSONValue<?> |
Converters.convertToJSONValue(Object value,
Optional<ValueConverter<?>> valueConverter,
Optional<Class<?>> targetClass,
ConverterOption<?>... options) |
|
abstract <T> List<T> |
AbstractJSONConverter.convertToList(Class<T> targetItemClass,
JSONArray array,
Optional<ValueConverter<?>> valueConverter) |
Deprecated.
|
abstract <T> List<T> |
AbstractJSONConverter.convertToList(JSONArray array,
Optional<ValueConverter<?>> valueConverter,
Optional<Class<?>> targetClass) |
|
static <T> List<T> |
Converters.convertToList(Class<T> targetClass,
JSONArray jsonArray,
Optional<ValueConverter<?>> valueConverter,
ConverterOption<?>... options) |
Deprecated.
|
static <T> List<T> |
Converters.convertToList(JSONArray array,
Optional<ValueConverter<?>> valueConverter,
Optional<Class<?>> targetClass,
ConverterOption<?>... options) |
|
<T> List<T> |
JSONConverter.convertToList(Class<T> targetItemClass,
JSONArray array,
Optional<ValueConverter<?>> valueConverter) |
Deprecated.
|
<T> List<T> |
JSONConverter.convertToList(JSONArray array,
Optional<ValueConverter<?>> valueConverter,
Optional<Class<?>> targetClass) |
|
abstract JSONValue<?> |
AbstractClassConverter.convertValue(Object value,
Optional<ValueConverter<?>> valueConverter,
Optional<Class<?>> targetClass) |
|
abstract <T> T |
AbstractJSONConverter.convertValue(JSONValue<?> value,
Optional<ValueConverter<?>> valueConverter,
Optional<Class<?>> targetClass) |
|
JSONValue<?> |
ClassConverter.convertValue(Object value,
Optional<ValueConverter<?>> valueConverter,
Optional<Class<?>> targetClass) |
Return a JSONValue
|
static <T> T |
Converters.convertValue(JSONValue<?> value,
Optional<ValueConverter<?>> valueConverter,
Optional<Class<?>> targetClass,
ConverterOption<?>... options) |
|
<T> T |
JSONConverter.convertValue(JSONValue<?> value,
Optional<ValueConverter<?>> valueConverter,
Optional<Class<?>> targetClass) |
|
-
-
-