I am creating an app with ionic 3. I am saving a string in ionic storage. I was working fine but suddenly I am getting this error.
Home.ts (This is where I am setting my string)
this.storage.set("123", JSON.stringify(data))
.then(() => {
console.log("Saved")
})
My string:
{"ImagePath":"Attachment/ProfileThumbnail/20180412134416Picture.jpg","name":"Sal man Ullah Khan","userId":238}
Just clear the storage of your App in the browser.
Chrome: Go to DevTools. Press F12, Application tab then Clear storage.