`JSON.parse` can throw an error. You should validate thoes values first.