I am just tired with this package... is this correct? So if a JSON type returns UNKNOWN then later i do check for a key it returns TRUE?
let json = JSON(jsonFromServer)
print(json) // prints "unknown"
print(json["key"].exists()) // returns true?!
What does UNKNOWN mean ? I've tested the code with good cases where it did work. Now if the server returns no JSON my code is buggy. What do I do wrong or how can I check if JSON() returns unknown? It's so poorly documented. Do you recommend another package or should I use the default one if this has no solution?