klaxon
klaxon copied to clipboard
JsonReader cannot get null values using public functions
Each of JsonReader's public functions do not accept null values anymore. I used to use nextString(), but now even that doesn't work. consumeValue<String?>() would work, however consumeValue is private.
For example, I don't know how to parse this in the streaming API:
{
"key": null
}
Having the same issue. Looks to be caused by how consumeValue
is defined in JsonReader
.