parser: empty json is error

RFC7159 defines JSON text as 'JSON-text = ws value ws'.
So no any value is not correct.