MapsIndoorsSDK
MapsIndoorsSDK
/
com.mapsindoors.mapssdk
/
JSONUtil
JSONUtil
open
class
JSONUtil
Content copied to clipboard
Functions
Functions
is
Empty
Link copied to clipboard
open
fun
isEmpty
(
@
Nullable
jsonData
:
Array
<
Byte
>
)
:
Boolean
Content copied to clipboard
Checks if the given json data array is empty, that is:
The array is null
The arra length is below 1
open
fun
isEmpty
(
@
Nullable
string
:
String
)
:
Boolean
Content copied to clipboard
Checks if the given json string is empty, that is:
The string is null
The string length is below 3 (ie: an empty list [] or object {})