parser: empty json is error

RFC7159 defines JSON text as 'JSON-text = ws value ws'.
So no any value is not correct.
parser test: added test for empty json text
Merge pull request #69 from drizt/master

parser: empty json is error