Feature Request: JsonArray#getAsString() should return an empty string if the array is empty
Open
enhancement
- Dominant language
- Java
- Stars
- 24.2k
- Forks
- 4.5k
- Avg merge
- 6d 4h
- Merged PRs (30d)
- 12
Description
Currently **JsonArray#getAsString()** returns the first element of the array as a string if it contains only one element. Perhaps we could also handle empty arrays by returning a empty string.
Contributor guide
Assessment
This issue has not been assessed yet.