Java api json typo

[DOCS] Fixed JSON typo in Java API example.