Let your code validated by JSON lint to detect errors in data. Jsonlint is a json validator and reformatter.
onex