error should be surfaced when parsing variant
Created by: proppy
Version 5.2 introduced a method to parse variant, but the current implement doesn't surface the return value of parseAnythingTo
.
Maybe it could check for the return value and return JsonVariant::invalid()
?