Uses of Class
org.spincast.core.exceptions.CantConvertException
-
Uses of CantConvertException in org.spincast.core.json
Modifier and TypeMethodDescriptionJsonArray.getArrayFirstBigDecimal
(int index) Gets the first element (as BigDecimal) of aJsonArray
element.JsonArray.getArrayFirstBigDecimal
(int index, BigDecimal defaultValue) Gets the first element (as BigDecimal) of aJsonArray
element.JsonObjectOrArray.getArrayFirstBigDecimal
(String jsonPath) Gets the first value (as BigDecimal) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObjectOrArray.getArrayFirstBigDecimal
(String jsonPath, BigDecimal defaultElement) Gets the first value (as BigDecimal) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObject.getArrayFirstBigDecimalNoKeyParsing
(String key) Gets the first value (as BigDecimal) of aJsonArray
element .JsonObject.getArrayFirstBigDecimalNoKeyParsing
(String key, BigDecimal defaultElement) Gets the first value (as BigDecimal) of aJsonArray
element .JsonArray.getArrayFirstBoolean
(int index) Gets the first element (as Boolean) of aJsonArray
element.JsonArray.getArrayFirstBoolean
(int index, Boolean defaultValue) Gets the first element (as Boolean) of aJsonArray
element.JsonObjectOrArray.getArrayFirstBoolean
(String jsonPath) Gets the first value (as Boolean) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObjectOrArray.getArrayFirstBoolean
(String jsonPath, Boolean defaultElement) Gets the first value (as Boolean) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObject.getArrayFirstBooleanNoKeyParsing
(String key) Gets the first value (as Boolean) of aJsonArray
element .JsonObject.getArrayFirstBooleanNoKeyParsing
(String key, Boolean defaultElement) Gets the first value (as Boolean) of aJsonArray
element .byte[]
JsonArray.getArrayFirstBytesFromBase64String
(int index) Gets the first element (as byte[]) of aJsonArray
element.byte[]
JsonArray.getArrayFirstBytesFromBase64String
(int index, byte[] defaultValue) Gets the first element (as byte[]) of aJsonArray
element.byte[]
JsonObjectOrArray.getArrayFirstBytesFromBase64String
(String jsonPath) Gets the first value (as byte[]) of aJsonArray
property of the object, using theJsonPath
to find the array.byte[]
JsonObjectOrArray.getArrayFirstBytesFromBase64String
(String jsonPath, byte[] defaultElement) Gets the first value (as byte[]) of aJsonArray
property of the object, using theJsonPath
to find the array.byte[]
JsonObject.getArrayFirstBytesFromBase64StringNoKeyParsing
(String key) Gets the first value (as byte[]) of aJsonArray
element .byte[]
JsonObject.getArrayFirstBytesFromBase64StringNoKeyParsing
(String key, byte[] defaultElement) Gets the first value (as byte[]) of aJsonArray
element .JsonArray.getArrayFirstDate
(int index) Gets the first element (as Date) of aJsonArray
element.JsonArray.getArrayFirstDate
(int index, Date defaultValue) Gets the first element (as Date) of aJsonArray
element.JsonObjectOrArray.getArrayFirstDate
(String jsonPath) Gets the first value (as Date) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObjectOrArray.getArrayFirstDate
(String jsonPath, Date defaultElement) Gets the first value (as Date) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObject.getArrayFirstDateNoKeyParsing
(String key) Gets the first value (as Date) of aJsonArray
element .JsonObject.getArrayFirstDateNoKeyParsing
(String key, Date defaultElement) Gets the first value (as Date) of aJsonArray
element.JsonArray.getArrayFirstDouble
(int index) Gets the first element (as Double) of aJsonArray
element.JsonArray.getArrayFirstDouble
(int index, Double defaultValue) Gets the first element (as Double) of aJsonArray
element.JsonObjectOrArray.getArrayFirstDouble
(String jsonPath) Gets the first value (as Double) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObjectOrArray.getArrayFirstDouble
(String jsonPath, Double defaultElement) Gets the first value (as Double) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObject.getArrayFirstDoubleNoKeyParsing
(String key) Gets the first value (as Double) of aJsonArray
element .JsonObject.getArrayFirstDoubleNoKeyParsing
(String key, Double defaultElement) Gets the first value (as Double) of aJsonArray
element .JsonArray.getArrayFirstFloat
(int index) Gets the first element (as Float) of aJsonArray
element.JsonArray.getArrayFirstFloat
(int index, Float defaultValue) Gets the first element (as Float) of aJsonArray
element.JsonObjectOrArray.getArrayFirstFloat
(String jsonPath) Gets the first value (as Float) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObjectOrArray.getArrayFirstFloat
(String jsonPath, Float defaultElement) Gets the first value (as Float) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObject.getArrayFirstFloatNoKeyParsing
(String key) Gets the first value (as Float) of aJsonArray
element .JsonObject.getArrayFirstFloatNoKeyParsing
(String key, Float defaultElement) Gets the first value (as Float) of aJsonArray
element .JsonArray.getArrayFirstInstant
(int index) Gets the first element (as Instant) of aJsonArray
element.JsonArray.getArrayFirstInstant
(int index, Instant defaultValue) Gets the first element (as Instant) of aJsonArray
element.JsonObjectOrArray.getArrayFirstInstant
(String jsonPath) Gets the first value (as Instant) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObjectOrArray.getArrayFirstInstant
(String jsonPath, Instant defaultElement) Gets the first value (as Instant) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonArray.getArrayFirstInteger
(int index) Gets the first element (as Integer) of aJsonArray
element.JsonArray.getArrayFirstInteger
(int index, Integer defaultValue) Gets the first element (as Integer) of aJsonArray
element.JsonObjectOrArray.getArrayFirstInteger
(String jsonPath) Gets the first value (as Integer) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObjectOrArray.getArrayFirstInteger
(String jsonPath, Integer defaultElement) Gets the first value (as Integer) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObject.getArrayFirstIntegerNoKeyParsing
(String key) Gets the first value (as Integer) of aJsonArray
element .JsonObject.getArrayFirstIntegerNoKeyParsing
(String key, Integer defaultElement) Gets the first value (as Integer) of aJsonArray
element .JsonArray.getArrayFirstJsonArray
(int index) Gets the first element (as JsonArray) of aJsonArray
element.JsonArray.getArrayFirstJsonArray
(int index, JsonArray defaultValue) Gets the first element (as JsonArray) of aJsonArray
element.JsonObjectOrArray.getArrayFirstJsonArray
(String jsonPath) Gets the first value (as JsonArray) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObjectOrArray.getArrayFirstJsonArray
(String jsonPath, JsonArray defaultElement) Gets the first value (as JsonArray) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObject.getArrayFirstJsonArrayNoKeyParsing
(String key) Gets the first value (as JsonArray) of aJsonArray
element .JsonObject.getArrayFirstJsonArrayNoKeyParsing
(String key, JsonArray defaultElement) Gets the first value (as JsonArray) of aJsonArray
element .JsonArray.getArrayFirstJsonObject
(int index) Gets the first element (as JsonObject) of aJsonArray
element.JsonArray.getArrayFirstJsonObject
(int index, JsonObject defaultValue) Gets the first element (as JsonObject) of aJsonArray
element.JsonObjectOrArray.getArrayFirstJsonObject
(String jsonPath) Gets the first value (as JsonObject) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObjectOrArray.getArrayFirstJsonObject
(String jsonPath, JsonObject defaultElement) Gets the first value (as JsonObject) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObject.getArrayFirstJsonObjectNoKeyParsing
(String key) Gets the first value (as JsonObject) of aJsonArray
element .JsonObject.getArrayFirstJsonObjectNoKeyParsing
(String key, JsonObject defaultElement) Gets the first value (as JsonObject) of aJsonArray
element .JsonArray.getArrayFirstLong
(int index) Gets the first element (as Long) of aJsonArray
element.JsonArray.getArrayFirstLong
(int index, Long defaultValue) Gets the first element (as Long) of aJsonArray
element.JsonObjectOrArray.getArrayFirstLong
(String jsonPath) Gets the first value (as Long) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObjectOrArray.getArrayFirstLong
(String jsonPath, Long defaultElement) Gets the first value (as Long) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObject.getArrayFirstLongNoKeyParsing
(String key) Gets the first value (as Long) of aJsonArray
element .JsonObject.getArrayFirstLongNoKeyParsing
(String key, Long defaultElement) Gets the first value (as Long) of aJsonArray
element .JsonArray.getArrayFirstString
(int index) Gets the first element (as String) of aJsonArray
element.JsonArray.getArrayFirstString
(int index, String defaultValue) Gets the first element (as String) of aJsonArray
element.JsonArray.getBigDecimal
(int index) Gets an element asBigDecimal
.JsonArray.getBigDecimal
(int index, BigDecimal defaultValue) Gets an element asBigDecimal
.JsonObjectOrArray.getBigDecimal
(String jsonPath) Gets an element asBigDecimal
using the specifiedJsonPath
.JsonObjectOrArray.getBigDecimal
(String jsonPath, BigDecimal defaultElement) Gets an element asBigDecimal
using the specifiedJsonPath
.JsonObject.getBigDecimalNoKeyParsing
(String key) Gets an element asBigDecimal
.JsonObject.getBigDecimalNoKeyParsing
(String key, BigDecimal defaultElement) Gets an element asBigDecimal
.JsonArray.getBoolean
(int index) Gets an element asBoolean
.JsonArray.getBoolean
(int index, Boolean defaultValue) Gets an element asBoolean
.JsonObjectOrArray.getBoolean
(String jsonPath) Gets an element asBoolean
using the specifiedJsonPath
.JsonObjectOrArray.getBoolean
(String jsonPath, Boolean defaultElement) Gets an element asBoolean
using the specifiedJsonPath
.JsonObject.getBooleanNoKeyParsing
(String key) Gets an element asBoolean
.JsonObject.getBooleanNoKeyParsing
(String key, Boolean defaultElement) Gets an element asBoolean
.byte[]
JsonArray.getBytesFromBase64String
(int index) Gets a byte array, from a base 64 encoded element.byte[]
JsonArray.getBytesFromBase64String
(int index, byte[] defaultValue) Gets a byte array, from a base 64 encoded element.byte[]
JsonObjectOrArray.getBytesFromBase64String
(String jsonPath) Gets a byte array, from a base 64 encoded element using the specifiedJsonPath
.byte[]
JsonObjectOrArray.getBytesFromBase64String
(String jsonPath, byte[] defaultElement) Gets a byte array, from a base 64 encoded element using the specifiedJsonPath
.byte[]
JsonObject.getBytesFromBase64StringNoKeyParsing
(String key) Gets a byte array, from a base 64 encoded element.byte[]
JsonObject.getBytesFromBase64StringNoKeyParsing
(String key, byte[] defaultElement) Gets a byte array, from a base 64 encoded element.JsonArray.getDate
(int index) Gets a UTC timezoned date from aISO 8601
date element.Gets a UTC timezoned date from aISO 8601
date element.Gets a UTC timezoned date from aISO 8601
date string element using the specifiedJsonPath
.Gets a UTC timezoned date from aISO 8601
date string element using the specifiedJsonPath
.JsonObject.getDateNoKeyParsing
(String key) Gets a UTC timezoned date from aISO 8601
date element.JsonObject.getDateNoKeyParsing
(String key, Date defaultElement) Gets a UTC timezoned date from aISO 8601
date element.JsonArray.getDouble
(int index) Gets an element asDouble
.Gets an element asDouble
.Gets an element asDouble
using the specifiedJsonPath
.Gets an element asDouble
using the specifiedJsonPath
.JsonObject.getDoubleNoKeyParsing
(String jsonPath) Gets an element asDouble
.JsonObject.getDoubleNoKeyParsing
(String jsonPath, Double defaultElement) Gets an element asDouble
.JsonArray.getFloat
(int index) Gets an element asFloat
.Gets an element asFloat
.Gets an element asFloat
using the specifiedJsonPath
.Gets an element asFloat
using the specifiedJsonPath
.JsonObject.getFloatNoKeyParsing
(String jsonPath) Gets an element asFloat
.JsonObject.getFloatNoKeyParsing
(String jsonPath, Float defaultElement) Gets an element asFloat
.JsonArray.getInstant
(int index) Gets an Instant from aISO 8601
date element.JsonArray.getInstant
(int index, Instant defaultValue) Gets an Instant from aISO 8601
date element.JsonObjectArrayBase.getInstant
(String jsonPath) JsonObjectArrayBase.getInstant
(String jsonPath, Instant defaultElement) JsonObjectOrArray.getInstant
(String jsonPath) Gets an Instant from aISO 8601
date string element using the specifiedJsonPath
.JsonObjectOrArray.getInstant
(String jsonPath, Instant defaultElement) Gets an Instant from aISO 8601
date string element using the specifiedJsonPath
.JsonObject.getInstantNoKeyParsing
(String key) Gets an Instant from aISO 8601
date element.JsonObject.getInstantNoKeyParsing
(String key, Instant defaultElement) Gets an Instant from aISO 8601
date element.JsonArray.getInteger
(int index) Gets an element asInteger
.JsonArray.getInteger
(int index, Integer defaultValue) Gets an element asInteger
.JsonObjectOrArray.getInteger
(String jsonPath) Gets an element asInteger
using the specifiedJsonPath
.JsonObjectOrArray.getInteger
(String jsonPath, Integer defaultElement) Gets an element asInteger
using the specifiedJsonPath
.JsonObject.getIntegerNoKeyParsing
(String jsonPath) Gets an element asInteger
.JsonObject.getIntegerNoKeyParsing
(String jsonPath, Integer defaultElement) Gets an element asInteger
.JsonArray.getJsonArray
(int index) Gets an element asJsonArray
.JsonArray.getJsonArray
(int index, JsonArray defaultValue) Gets an element asJsonArray
.JsonObjectOrArray.getJsonArray
(String jsonPath) Gets an element asJsonArray
using the specifiedJsonPath
.JsonObjectOrArray.getJsonArray
(String jsonPath, JsonArray defaultElement) Gets an element asJsonArray
using the specifiedJsonPath
.JsonObject.getJsonArrayNoKeyParsing
(String jsonPath) Gets an element asJsonArray
.JsonObject.getJsonArrayNoKeyParsing
(String jsonPath, JsonArray defaultElement) Gets an element asJsonArray
.JsonArray.getJsonArrayOrEmpty
(int index) Gets an element asJsonArray
.JsonObjectOrArray.getJsonArrayOrEmpty
(String jsonPath) Gets an element asJsonArray
using the specifiedJsonPath
.JsonObjectOrArray.getJsonArrayOrEmpty
(String jsonPath, boolean addIfDoesntExist) Gets an element asJsonArray
using the specifiedJsonPath
.JsonObject.getJsonArrayOrEmptyNoKeyParsing
(String jsonPath) Gets an element asJsonArray
.JsonArray.getJsonObject
(int index) Gets an element asJsonObject
.JsonArray.getJsonObject
(int index, JsonObject defaultValue) Gets an element asJsonObject
.JsonObjectOrArray.getJsonObject
(String jsonPath) Gets an element asJsonObject
using the specifiedJsonPath
.JsonObjectOrArray.getJsonObject
(String jsonPath, JsonObject defaultElement) Gets an element asJsonObject
using the specifiedJsonPath
.JsonObject.getJsonObjectNoKeyParsing
(String jsonPath) Gets an element asJsonObject
.JsonObject.getJsonObjectNoKeyParsing
(String jsonPath, JsonObject defaultElement) Gets an element asJsonObject
.JsonArray.getJsonObjectOrEmpty
(int index) Gets an element asJsonObject
.JsonObjectOrArray.getJsonObjectOrEmpty
(String jsonPath) Gets an element asJsonObject
using the specifiedJsonPath
.JsonObjectOrArray.getJsonObjectOrEmpty
(String jsonPath, boolean addIfDoesntExist) Gets an element asJsonObject
using the specifiedJsonPath
.JsonObject.getJsonObjectOrEmptyNoKeyParsing
(String jsonPath) Gets an element asJsonObject
.JsonArray.getLong
(int index) Gets an element asLong
.Gets an element asLong
.Gets an element asLong
using the specifiedJsonPath
.Gets an element asLong
using the specifiedJsonPath
.JsonObject.getLongNoKeyParsing
(String jsonPath) Gets an element asLong
.JsonObject.getLongNoKeyParsing
(String jsonPath, Long defaultElement) Gets an element asLong
. -
Uses of CantConvertException in org.spincast.core.utils
Modifier and TypeMethodDescriptionbyte[]
ObjectConverter.convertBase64StringToByteArray
(Object element) Converts the element to aBigDecimal
.byte[]
ObjectConverterDefault.convertBase64StringToByteArray
(Object object) <T> T
Tries to convert the element to the specifiedtargetType
.<T> T
ObjectConverter.convertToBigDecimal
(Object element) Converts the element to aBigDecimal
.ObjectConverterDefault.convertToBigDecimal
(Object object) ObjectConverter.convertToBoolean
(Object element) Converts the element to aJsonArray
.ObjectConverterDefault.convertToBoolean
(Object object) ObjectConverter.convertToDateFromJsonDateFormat
(Object element) Converts the element to aDate
.ObjectConverterDefault.convertToDateFromJsonDateFormat
(Object object) ObjectConverter.convertToDouble
(Object element) Converts the element to aDouble
.ObjectConverterDefault.convertToDouble
(Object object) ObjectConverter.convertToFloat
(Object element) Converts the element to aFloat
.ObjectConverterDefault.convertToFloat
(Object object) ObjectConverter.convertToInstantFromJsonDateFormat
(Object element) Converts the element to aInstant
.ObjectConverterDefault.convertToInstantFromJsonDateFormat
(Object object) ObjectConverter.convertToInteger
(Object element) Converts the element to aInteger
.ObjectConverterDefault.convertToInteger
(Object object) ObjectConverter.convertToJsonArray
(Object element) Converts the element to aJsonArray
.ObjectConverter.convertToJsonObject
(Object element) Converts the element to aJsonObject
.ObjectConverter.convertToLong
(Object element) Converts the element to aLong
.ObjectConverterDefault.convertToLong
(Object object)