is Empty
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 {})
Return
True if the given string is "empty"
Parameters
string
The string to check
Checks if the given json data array is empty, that is:
- The array is null
- The arra length is below 1
Return
True if the given array is "empty"
Parameters
json Data
The data to check