use try...catch JSON.parse data