Fix example code on scala json
Merge pull request #2373 from buster84/2.2.x

Fix example code on scala json