Corrected small typo

In the code snippet the `fun` should be `validate` and the `mod` should be `validate_json`
Merge pull request #1313 from a-maze-d/patch-1

Corrected small typo